fix issue with players losing their biz checkpoints when someone quits

This commit is contained in:
Lorenc Pekaj 2018-10-12 00:03:57 +11:00
parent 97429cf955
commit f4a6e08428

View File

@ -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 ) {