From a4309a99a2676d034d5a92063d91e6f895871f92 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Sun, 19 Mar 2023 19:45:06 -0700 Subject: [PATCH] Meat powerup: fix meat stink ignoreme --- scripts/zm/replaced/zgrief.gsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/zm/replaced/zgrief.gsc b/scripts/zm/replaced/zgrief.gsc index 1d2431d9..f7a7db61 100644 --- a/scripts/zm/replaced/zgrief.gsc +++ b/scripts/zm/replaced/zgrief.gsc @@ -247,6 +247,7 @@ meat_stink_ignoreme_think() self endon("disconnect"); self endon("player_downed"); self endon("bled_out"); + self endon("meat_stink_player_end"); while (1) { @@ -390,9 +391,13 @@ meat_stink_player( who ) player print_meat_msg(who, "has"); } + who thread meat_stink_ignoreme_think(); who thread meat_stink_player_create(); + who waittill_any_or_timeout( 30, "disconnect", "player_downed", "bled_out" ); + + who notify( "meat_stink_player_end" ); players = get_players(); foreach ( player in players ) {