mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[NO GBP] Actually makes the runtime logging suppression for lua states suppress logging runtimes (#85502)
## About The Pull Request I was so focused on the ui code that I forgot that I didn't make the `supress_runtimes` var do anything. ## Why It's Good For The Game Things should do what they were made to do. ## Changelog 🆑 admin: The "Suppress Runtime Logging" toggle in the lua editor actually does what it says /🆑
This commit is contained in:
@@ -55,6 +55,8 @@ GLOBAL_PROTECT(lua_state_stack)
|
||||
var/status = result["status"]
|
||||
if(!verbose && status != "error" && status != "panic" && status != "runtime" && !(result["name"] == "input" && (status == "finished" || length(result["return_values"]))))
|
||||
return
|
||||
if(status == "runtime" && supress_runtimes)
|
||||
return
|
||||
var/append_to_log = TRUE
|
||||
var/index_of_log
|
||||
if(log.len)
|
||||
|
||||
Reference in New Issue
Block a user