1
0
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:
Jbleezy
2023-02-24 15:52:21 -08:00
parent 0147b44e70
commit 9afdc78220
5 changed files with 32 additions and 11 deletions

View File

@ -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;
}
}