Re-add removed assert(false) (#448)
This commit is contained in:
@@ -120,6 +120,7 @@ func warning(string: String, args = []):
|
|||||||
escoria.main.current_scene.game.show_crash_popup(
|
escoria.main.current_scene.game.show_crash_popup(
|
||||||
[log_file.get_path_absolute()]
|
[log_file.get_path_absolute()]
|
||||||
)
|
)
|
||||||
|
assert(false)
|
||||||
|
|
||||||
|
|
||||||
# Log an error message
|
# Log an error message
|
||||||
@@ -154,6 +155,7 @@ func error(string: String, args = [], do_savegame: bool = true):
|
|||||||
_log(message, true)
|
_log(message, true)
|
||||||
|
|
||||||
escoria.main.current_scene.game.show_crash_popup(files_to_send)
|
escoria.main.current_scene.game.show_crash_popup(files_to_send)
|
||||||
|
assert(false)
|
||||||
|
|
||||||
|
|
||||||
# Log a warning message about an ESC file
|
# Log a warning message about an ESC file
|
||||||
|
|||||||
Reference in New Issue
Block a user