Fixes the key not being able to plug into the ignition.

This commit is contained in:
JoanRisu
2017-02-17 03:03:17 +09:00
parent 356aee9dda
commit 45888144e3
+1 -2
View File
@@ -19,7 +19,6 @@
load_item_visible = 0
load_offset_x = 0
mob_offset_y = 7
pixel_x = -8
pixel_y = -8
@@ -83,7 +82,7 @@
..()
/obj/vehicle/train/rover/engine/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W, /obj/item/weapon/key/cargo_train))
if(istype(W, /obj/item/weapon/key/rover))
if(!key)
user.drop_item()
W.forceMove(src)