mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix first console open
This commit is contained in:
parent
4edab4a89a
commit
eb9a89ed96
1 changed files with 2 additions and 3 deletions
|
|
@ -202,9 +202,8 @@ function on_open(mode)
|
|||
debug=document.s_debug
|
||||
}, function (mode)
|
||||
set_mode(mode)
|
||||
end, "console")
|
||||
end
|
||||
if mode then
|
||||
end, mode or "console")
|
||||
elseif mode then
|
||||
modes:set(mode)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue