rm unused variable

This commit is contained in:
Lorenc Pekaj 2019-05-29 21:25:59 +10:00
parent ea4b0d0759
commit 363abbd50a

View File

@ -225,7 +225,7 @@ hook OnServerGameDayEnd( )
{ {
foreach(new g : gangs) foreach(new g : gangs)
{ {
new online_members = GetOnlineGangMembers( g ); new online_members = GetOnlineGangMembers( g );
if ( online_members >= TAKEOVER_NEEDED_PEOPLE ) if ( online_members >= TAKEOVER_NEEDED_PEOPLE )
@ -326,7 +326,7 @@ hook OnServerTickSecond( )
// Money Grub // Money Grub
if ( Iter_Contains( gangs, attacker_gang ) ) if ( Iter_Contains( gangs, attacker_gang ) )
{ {
new afk_opmembers, online_opmembers = GetOnlineGangMembers( attacker_gang ); new online_opmembers = GetOnlineGangMembers( attacker_gang );
new zone_money = Turf_GetProfitability( z, online_opmembers ); new zone_money = Turf_GetProfitability( z, online_opmembers );
earned_money = floatround( float( zone_money ) * 0.5 ); earned_money = floatround( float( zone_money ) * 0.5 );