Unit test fix

This commit is contained in:
Anewbe
2016-11-18 23:41:38 -06:00
parent 7d86004f8a
commit 67532eef54

View File

@@ -9,7 +9,7 @@
if(!initial(G.display_name)) if(!initial(G.display_name))
log_unit_test("[G]: Loadout - Missing display name.") log_unit_test("[G]: Loadout - Missing display name.")
failed = 1 failed = 1
else if(!initial(G.cost)) else if(isnull(initial(G.cost)))
log_unit_test("[G]: Loadout - Missing cost.") log_unit_test("[G]: Loadout - Missing cost.")
failed = 1 failed = 1
else if(!initial(G.path)) else if(!initial(G.path))