fixing a bunch of unit test/runtime issues

This commit is contained in:
Putnam3145
2021-07-25 18:40:11 -07:00
parent 89414f7466
commit f1560cb807
14 changed files with 32 additions and 31 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
var/datum/keybinding/KB = i
if(initial(KB.keybind_signal) || !initial(KB.name))
continue
Fail("[KB.name] does not have a keybind signal defined.")
Fail("[initial(KB.name)] does not have a keybind signal defined.")
+2 -2
View File
@@ -10,6 +10,6 @@
var/list/paths = subtypesof(/obj/item/stack) - blacklist
for(var/stackpath in paths)
var/obj/item/stack/stack = stackpath
if(!initial(stack.merge_type))
var/obj/item/stack/stack = new stackpath
if(!stack.merge_type)
Fail("([stack]) lacks set merge_type variable!")