mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 12:05:59 +01:00
[MIRROR] Fix runtime in bolts hallucination (#2666)
* Fix runtime in bolts hallucination (#56108) Fixes requesting .len from null when the list was never initialized. * Fix runtime in bolts hallucination Co-authored-by: Mothblocks <35135081+Jared-Fogle@users.noreply.github.com>
This commit is contained in:
@@ -759,7 +759,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
|
||||
lock.airlock = next_airlock
|
||||
LAZYADD(locks, lock)
|
||||
|
||||
if (!airlocks_to_hit.len)
|
||||
if (!LAZYLEN(airlocks_to_hit))
|
||||
locking = FALSE
|
||||
next_action = 10 SECONDS
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user