1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-20 20:20:30 -05:00

Meat powerup: fix meat stink ignoreme

This commit is contained in:
Jbleezy
2023-03-19 19:45:06 -07:00
parent 51ba503c06
commit a4309a99a2

View File

@ -247,6 +247,7 @@ meat_stink_ignoreme_think()
self endon("disconnect"); self endon("disconnect");
self endon("player_downed"); self endon("player_downed");
self endon("bled_out"); self endon("bled_out");
self endon("meat_stink_player_end");
while (1) while (1)
{ {
@ -390,9 +391,13 @@ meat_stink_player( who )
player print_meat_msg(who, "has"); player print_meat_msg(who, "has");
} }
who thread meat_stink_ignoreme_think(); who thread meat_stink_ignoreme_think();
who thread meat_stink_player_create(); who thread meat_stink_player_create();
who waittill_any_or_timeout( 30, "disconnect", "player_downed", "bled_out" ); who waittill_any_or_timeout( 30, "disconnect", "player_downed", "bled_out" );
who notify( "meat_stink_player_end" );
players = get_players(); players = get_players();
foreach ( player in players ) foreach ( player in players )
{ {