[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:
Y0SH1M4S73R
2024-08-02 20:00:13 -04:00
committed by GitHub
parent ee573a6893
commit 619887cdbd
@@ -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)