Re-add removed assert(false) (#448)

This commit is contained in:
Julian Murgia
2021-11-18 21:21:01 +01:00
committed by GitHub
parent 7c9c509420
commit bb0520adcb

View File

@@ -120,7 +120,8 @@ func warning(string: String, args = []):
escoria.main.current_scene.game.show_crash_popup(
[log_file.get_path_absolute()]
)
assert(false)
# Log an error message
#
@@ -154,6 +155,7 @@ func error(string: String, args = [], do_savegame: bool = true):
_log(message, true)
escoria.main.current_scene.game.show_crash_popup(files_to_send)
assert(false)
# Log a warning message about an ESC file