mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 23:52:12 +00:00
.loc = to forceMove() (#4937)
As requested, this PR is changed to only include all .loc = to forceMove() changes.
This commit is contained in:
@@ -61,8 +61,7 @@
|
||||
if(found)
|
||||
to_chat(user, "You install \the [H] into \the [src]")
|
||||
H.holder2 = src
|
||||
user.drop_from_inventory(H)
|
||||
H.forceMove(src)
|
||||
user.drop_from_inventory(H,src)
|
||||
update_icon()
|
||||
|
||||
// Uninstalls component. Found and Critical vars may be passed by parent types, if they have additional hardware.
|
||||
|
||||
@@ -133,9 +133,8 @@
|
||||
if(card_slot.stored_card)
|
||||
to_chat(user, "You try to insert \the [I] into \the [src], but it's ID card slot is occupied.")
|
||||
return
|
||||
user.drop_from_inventory(I)
|
||||
user.drop_from_inventory(I,src)
|
||||
card_slot.stored_card = I
|
||||
I.forceMove(src)
|
||||
update_uis()
|
||||
to_chat(user, "You insert \the [I] into \the [src].")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user