loc -- > forcemove
This commit is contained in:
committed by
CitadelStationBot
parent
5b4e26cb06
commit
033d14e8b3
@@ -77,7 +77,7 @@
|
||||
if(..())
|
||||
return 1
|
||||
else if(mybag)
|
||||
mybag.loc = get_turf(user)
|
||||
mybag.forceMove(get_turf(user))
|
||||
user.put_in_hands(mybag)
|
||||
mybag = null
|
||||
update_icon()
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
/obj/vehicle/space/speedbike/speedwagon/Collide(atom/movable/A)
|
||||
. = ..()
|
||||
if(A.density && has_buckled_mobs())
|
||||
var/atom/throw_target = get_edge_target_turf(A, src.dir)
|
||||
var/atom/throw_target = get_edge_target_turf(A, dir)
|
||||
if(crash_all)
|
||||
A.throw_at(throw_target, 4, 3)
|
||||
visible_message("<span class='danger'>[src] crashes into [A]!</span>")
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
/obj/vehicle/space/speedbike/speedwagon/Moved()
|
||||
. = ..()
|
||||
if(src.has_buckled_mobs())
|
||||
if(has_buckled_mobs())
|
||||
for(var/atom/A in range(2, src))
|
||||
if(!(A in src.buckled_mobs))
|
||||
if(!(A in buckled_mobs))
|
||||
Collide(A)
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
if(A.density)
|
||||
if(A != src && A != M)
|
||||
return
|
||||
M.loc = get_turf(src)
|
||||
M.forceMove(get_turf(src))
|
||||
..()
|
||||
if(user.client)
|
||||
user.client.change_view(view_range)
|
||||
|
||||
Reference in New Issue
Block a user