From f7b4486a36143cbd989f81840a563e708db57280 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Wed, 17 May 2023 22:40:16 -0700 Subject: [PATCH] Fix last stand pistol not changing when players join --- scripts/zm/replaced/_zm.gsc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/zm/replaced/_zm.gsc b/scripts/zm/replaced/_zm.gsc index 543b9d08..3bdd6451 100644 --- a/scripts/zm/replaced/_zm.gsc +++ b/scripts/zm/replaced/_zm.gsc @@ -2634,6 +2634,7 @@ check_quickrevive_for_hotjoin(disconnecting_player) return; } + solo_mode = 0; subtract_num = 0; if ( isdefined( disconnecting_player ) ) @@ -2643,10 +2644,13 @@ check_quickrevive_for_hotjoin(disconnecting_player) if ( players.size - subtract_num == 1 ) { + solo_mode = 1; flag_set( "solo_game" ); } else { flag_clear( "solo_game" ); } + + set_default_laststand_pistol( solo_mode ); } \ No newline at end of file