mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-23 15:38:08 +00:00
Fixes the error handler throwing errors too early. (#1146)
## About The Pull Request Hopefully fixes the error handler throwing errors too early. ## Why It's Good For The Game Hopefully fixes the error handler throwing errors too early. ## Proof Of Testing If it passes linters, it werks. ## Changelog 🆑 BurgerBB fix: Hopefully fixes the error handler throwing errors too early. /🆑 Co-authored-by: nevimer <77420409+nevimer@users.noreply.github.com> Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com>
This commit is contained in:
@@ -31,7 +31,7 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0)
|
||||
var/static/list/error_cooldown = list() /* Error_cooldown items will either be positive(cooldown time) or negative(silenced error)
|
||||
If negative, starts at -1, and goes down by 1 each time that error gets skipped*/
|
||||
|
||||
if(!error_last_seen) // A runtime is occurring too early in start-up initialization
|
||||
if(!stack_workaround) // A runtime is occurring too early in start-up initialization //BUBBERSTATION CHANGE: error_last_seen to stack_workaround
|
||||
return ..()
|
||||
|
||||
if(stack_workaround.Find(E.name))
|
||||
|
||||
Reference in New Issue
Block a user