fix stack traces

This commit is contained in:
MihailRis
2025-04-20 13:10:26 +03:00
parent 32af745eb9
commit 05ddffb5c9
4 changed files with 20 additions and 10 deletions
+6
View File
@@ -3,6 +3,12 @@ console_mode = "console"
history = session.get_entry("commands_history")
history_pointer = #history
events.on("core:open_traceback", function()
if modes then
modes:set('debug')
end
end)
function setup_variables()
local pid = hud.get_player()
local x,y,z = player.get_pos(pid)