Spaces:
Runtime error
Runtime error
Commit ·
2a1d221
1
Parent(s): 449ed7e
Bug fix
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def run_1_game_turn(s_narr_transcript, s_n_turns_elapsed, s_user_transcript, s_u
|
|
| 89 |
elif S_GAME_OVER in s_narr_transcript:
|
| 90 |
s_user_transcript += "Sorry, the game is already over. To play again, please refresh the page.\n"
|
| 91 |
|
| 92 |
-
elif decider_utils.
|
| 93 |
finally_add2_both_tscripts += s_user_input + "\n\n"
|
| 94 |
finally_add2_both_tscripts += game_over_fail_txt("You have taken an action that is likely to result in killing someone.")
|
| 95 |
|
|
|
|
| 89 |
elif S_GAME_OVER in s_narr_transcript:
|
| 90 |
s_user_transcript += "Sorry, the game is already over. To play again, please refresh the page.\n"
|
| 91 |
|
| 92 |
+
elif decider_utils.special_case_is_action_lethal(s_user_input):
|
| 93 |
finally_add2_both_tscripts += s_user_input + "\n\n"
|
| 94 |
finally_add2_both_tscripts += game_over_fail_txt("You have taken an action that is likely to result in killing someone.")
|
| 95 |
|