Update business.pwn
This commit is contained in:
parent
dbd9c9a2fd
commit
d13152e84d
@ -219,13 +219,6 @@ hook OnServerUpdate( )
|
||||
|
||||
// Replenish product
|
||||
foreach ( new businessid : business ) if ( g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] )
|
||||
{
|
||||
new
|
||||
members = 0;
|
||||
|
||||
GetOnlineBusinessAssociates( businessid, members );
|
||||
|
||||
if ( members )
|
||||
{
|
||||
// reduce business production time by a second
|
||||
g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] --;
|
||||
@ -254,7 +247,6 @@ hook OnServerUpdate( )
|
||||
// update label anyway
|
||||
UpdateBusinessProductionLabel( businessid );
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user