Merge pull request #13670 from shellspeed1/master

Makes floor bots buildable with all toolboxes.
This commit is contained in:
silicons
2020-11-15 17:12:37 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -206,7 +206,7 @@
icon_state = "toolbox_tiles"
throwforce = 10
created_name = "Floorbot"
var/toolbox = /obj/item/storage/toolbox/mechanical
var/toolbox = /obj/item/storage/toolbox
/obj/item/bot_assembly/floorbot/Initialize()
. = ..()
@@ -225,7 +225,7 @@
name = "incomplete floorbot assembly"
icon_state = "toolbox_tiles_sensor"
/obj/item/storage/toolbox/mechanical/attackby(obj/item/stack/tile/plasteel/T, mob/user, params)
/obj/item/storage/toolbox/attackby(obj/item/stack/tile/plasteel/T, mob/user, params)
if(!istype(T, /obj/item/stack/tile/plasteel))
..()
return