mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-21 12:40:20 -05:00
Fix errors due to Grief scripts loading on all gametypes
This commit is contained in:
@ -44,7 +44,7 @@ meat_stink_player( who )
|
||||
players = get_players();
|
||||
foreach ( player in players )
|
||||
{
|
||||
player thread maps\mp\gametypes_zm\zgrief::meat_stink_player_cleanup();
|
||||
player thread [[level.zgrief_meat_stink_player_cleanup]]();
|
||||
if ( player != who )
|
||||
{
|
||||
player.ignoreme = 1;
|
||||
@ -59,12 +59,12 @@ meat_stink_player( who )
|
||||
player iprintln("^9" + who.name + " has the meat");
|
||||
}
|
||||
}
|
||||
who thread maps\mp\gametypes_zm\zgrief::meat_stink_player_create();
|
||||
who thread [[level.zgrief_meat_stink_player_create]]();
|
||||
who waittill_any_or_timeout( 30, "disconnect", "player_downed", "bled_out" );
|
||||
players = get_players();
|
||||
foreach ( player in players )
|
||||
{
|
||||
player thread maps\mp\gametypes_zm\zgrief::meat_stink_player_cleanup();
|
||||
player thread [[level.zgrief_meat_stink_player_cleanup]]();
|
||||
player.ignoreme = 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user