From 841e62a29044c396721b594c88d670d87d293c2c Mon Sep 17 00:00:00 2001 From: WuphonsReach Date: Sun, 3 Jan 2021 22:35:56 -0500 Subject: [PATCH] fix problem where disguise is "sticky" In some cases, the disguise would get stuck as applied, even if you were captured while trying to infiltrate. Now, when captured, the disguise is removed. --- source/module_game_menus.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/module_game_menus.py b/source/module_game_menus.py index 718eb73..ed2618f 100644 --- a/source/module_game_menus.py +++ b/source/module_game_menus.py @@ -16016,6 +16016,7 @@ # (try_end), #(try_end), + (assign, "$g_mt_mode", tcm_default), # clear any disguses (set_camera_follow_party, "$capturer_party"), (assign, "$g_player_is_captive", 1), (store_random_in_range, ":random_hours", 18, 30), @@ -16090,6 +16091,7 @@ [ ("continue",[],"Continue...", [ + (assign, "$g_mt_mode", tcm_default), # clear any disguses (assign, "$g_player_is_captive", 1), (store_random_in_range, ":random_hours", 16, 22), (call_script, "script_event_player_captured_as_prisoner"), @@ -16119,6 +16121,7 @@ [ ("continue",[],"Continue...", [ + (assign, "$g_mt_mode", tcm_default), # clear any disguses (assign, "$g_player_is_captive", 1), (store_random_in_range, ":random_hours", 16, 22), (call_script, "script_event_player_captured_as_prisoner"),