fix issue with players losing their biz checkpoints when someone quits
This commit is contained in:
parent
97429cf955
commit
f4a6e08428
@ -1159,7 +1159,7 @@ hook OnPlayerDisconnect( playerid, reason )
|
|||||||
new
|
new
|
||||||
members = 0;
|
members = 0;
|
||||||
|
|
||||||
GetOnlineBusinessAssociates( playerid, members, playerid );
|
GetOnlineBusinessAssociates( businessid, members, playerid );
|
||||||
|
|
||||||
// printf ("%d online players for business %d, stopping mission?", members, businessid );
|
// printf ("%d online players for business %d, stopping mission?", members, businessid );
|
||||||
if ( members <= 0 ) {
|
if ( members <= 0 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user