Adjust Lua diagnostics

This commit is contained in:
2026-03-08 14:27:41 -05:00
parent 77490ae8df
commit 2244f6494b
3 changed files with 48 additions and 57 deletions

View File

@@ -39,16 +39,17 @@
--
--/////////////////////////////////////////////////////////////////////////////////////////////////
---@diagnostic disable
function DebugEventAlert(event, params)
message = tostring(Script) .. ": handled event " .. tostring(event)
function AppendParameter(ival, parameter)
message = message .. "\nParameter " .. tostring(ival) .. ": " .. tostring(parameter)
end
table.foreachi(params, AppendParameter)
MessageBox(message)
end