mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
755261fc92
commit
b29b438789
1 changed files with 3 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
|||
history = session.get_entry("commands_history")
|
||||
history_pointer = #history
|
||||
|
||||
local warning_id = 0
|
||||
events.on("core:warning", function (wtype, text)
|
||||
document.problemsLog:add(gui.template("problem", {
|
||||
type="warning", text=wtype..": "..text, id=tostring(math.random())
|
||||
type="warning", text=wtype..": "..text, id=tostring(warning_id)
|
||||
}))
|
||||
warning_id = warning_id + 1
|
||||
end)
|
||||
|
||||
function setup_variables()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue