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:
BurgerLUA
2024-02-15 01:42:58 -08:00
committed by GitHub
parent 9a55c1a75c
commit bbedcedae4

View File

@@ -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))