Fixes runtime with capture crystal pref

This commit is contained in:
Heroman
2022-09-18 10:59:24 +10:00
parent 607d730743
commit ff91c8434c
+1 -1
View File
@@ -100,7 +100,7 @@
else
to_chat(src, "You are now catchable.")
prefs.capture_crystal = 1
if(L)
if(L && istype(L))
L.capture_crystal = prefs.capture_crystal
SScharacter_setup.queue_preferences_save(prefs)