Fat mask null fix

Fixed a runtime error in the drone mask caused by null users
This commit is contained in:
Alphas00
2024-06-29 11:51:14 +02:00
parent a23ede44cb
commit 6564e22761
+4 -1
View File
@@ -17,7 +17,10 @@
return PROCESS_KILL
/obj/item/clothing/mask/gas/fattening/process()
C.adjust_fatness(5, FATTENING_TYPE_ITEM)
if(C != null)
C.adjust_fatness(5, FATTENING_TYPE_ITEM)
else
return PROCESS_KILL
/datum/crafting_recipe/fat_mask
name = "Drone Mask"