mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 07:22:42 +00:00
Merge pull request #2770 from Anewbe/commiecomms
Makes Communicators free
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
if(!initial(G.display_name))
|
||||
log_unit_test("[G]: Loadout - Missing display name.")
|
||||
failed = 1
|
||||
else if(!initial(G.cost))
|
||||
else if(isnull(initial(G.cost)))
|
||||
log_unit_test("[G]: Loadout - Missing cost.")
|
||||
failed = 1
|
||||
else if(!initial(G.path))
|
||||
|
||||
Reference in New Issue
Block a user