mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
fix stack traces
This commit is contained in:
parent
32af745eb9
commit
05ddffb5c9
4 changed files with 20 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue