fixing a bunch of unit test/runtime issues
This commit is contained in:
@@ -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.")
|
||||
|
||||
@@ -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!")
|
||||
|
||||
Reference in New Issue
Block a user