.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-04 01:48:58 +03:00
committed by Erki
parent 187613428e
commit 8519dcc393
376 changed files with 968 additions and 1261 deletions
@@ -35,5 +35,5 @@ BONUS
M.emote("cough")
var/obj/item/I = M.get_active_hand()
if(I && I.w_class < 3)
M.drop_item()
M.drop_from_inventory(I)
return
+1 -1
View File
@@ -117,6 +117,6 @@ STI KALY - blind
return
affected_mob.say("SCYAR NILA [uppertext(thearea.name)]!")
affected_mob.loc = pick(L)
affected_mob.forceMove(pick(L))
return
+3 -3
View File
@@ -141,7 +141,7 @@ var/list/wireColours = list("red", "blue", "green", "darkred", "orange", "brown"
// Attach
else
if(istype(I, /obj/item/device/assembly/signaler))
L.drop_item()
usr.drop_from_inventory(I)
Attach(colour, I)
else
L << "<span class='error'>You need a remote signaller!</span>"
@@ -241,7 +241,7 @@ var/const/POWER = 8
if(colour && S)
if(!IsAttached(colour))
signallers[colour] = S
S.loc = holder
S.forceMove(holder)
S.connected = src
return S
@@ -251,7 +251,7 @@ var/const/POWER = 8
if(S)
signallers -= colour
S.connected = null
S.loc = holder.loc
S.forceMove(holder.loc)
return S