Fix runtimes some more.

This commit is contained in:
Ghommie
2020-03-10 22:40:06 +01:00
parent 0d66a40e55
commit 27a7f754c4
27 changed files with 49 additions and 63 deletions

View File

@@ -101,10 +101,10 @@
bombassembly.setDir(dir)
bombassembly.Move()
/obj/item/onetankbomb/dropped()
/obj/item/onetankbomb/dropped(mob/user)
. = ..()
if(bombassembly)
bombassembly.dropped()
bombassembly.dropped(user)

View File

@@ -83,9 +83,9 @@
/obj/item/assembly_holder/dropped(mob/user)
. = ..()
if(a_left)
a_left.dropped()
a_left.dropped(user)
if(a_right)
a_right.dropped()
a_right.dropped(user)
/obj/item/assembly_holder/attack_hand()//Perhapse this should be a holder_pickup proc instead, can add if needbe I guess
. = ..()

View File

@@ -74,7 +74,7 @@
holder.update_icon()
return
/obj/item/assembly/infra/dropped()
/obj/item/assembly/infra/dropped(mob/user)
. = ..()
if(holder)
holder_movement() //sync the dir of the device as well if it's contained in a TTV or an assembly holder