Skip to content

Commit

Permalink
fix problem where disguise is "sticky"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
WuphonsReach committed Jan 4, 2021
1 parent 1b8d274 commit 841e62a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/module_game_menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 841e62a

Please sign in to comment.