mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Fix runtime in bolts hallucination (#56108)
Fixes requesting .len from null when the list was never initialized.
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