Simple fix is good fix

This commit is contained in:
Anewbe
2016-11-18 22:32:45 -06:00
parent fe8d9a5389
commit a67e57e727
2 changed files with 2 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ var/list/gear_datums = list()
if(!use_name)
error("Loadout - Missing display name: [G]")
continue
if(!initial(G.cost))
if(isnull(initial(G.cost)))
error("Loadout - Missing cost: [G]")
continue
if(!initial(G.path))

View File

@@ -11,6 +11,7 @@
/datum/gear/utility/communicator
display_name = "personal communicator"
path = /obj/item/device/communicator
cost = 0
/datum/gear/utility/folder_blue
display_name = "folder, blue"