.loc = to forceMove() (#4937)

As requested, this PR is changed to only include all .loc = to forceMove() changes.
This commit is contained in:
BurgerLUA
2018-08-03 15:48:58 -07:00
committed by Erki
parent 187613428e
commit 8519dcc393
376 changed files with 968 additions and 1261 deletions

View File

@@ -278,8 +278,7 @@
return FALSE
var/obj/item/weapon/cell/device/cell = I
user.drop_item(cell)
cell.forceMove(src)
user.drop_from_inventory(cell,src)
battery = cell
playsound(get_turf(src), 'sound/items/Deconstruct.ogg', 50, 1)
to_chat(user, "<span class='notice'>You slot \the [cell] inside \the [src]'s power supply.</span>")

View File

@@ -262,7 +262,7 @@ a creative player the means to solve many problems. Circuits are held inside an
if(!circuit)
return
circuit.loc = null
circuit.loc = assy
circuit.forceMove(assy)
. = 1
update_to_assembly = 1