mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51: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
|
debug=document.s_debug
|
||||||
}, function (mode)
|
}, function (mode)
|
||||||
set_mode(mode)
|
set_mode(mode)
|
||||||
end, "console")
|
end, mode or "console")
|
||||||
end
|
elseif mode then
|
||||||
if mode then
|
|
||||||
modes:set(mode)
|
modes:set(mode)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue