mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-23 21:16:16 +01:00
Fat mask null fix
Fixed a runtime error in the drone mask caused by null users
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user