mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Make *flip keep better track of who's buckled. (#31194)
This commit is contained in:
@@ -145,7 +145,8 @@
|
||||
var/obj/item/grab/G = H.get_active_hand()
|
||||
if(G && G.affecting)
|
||||
if(H.buckled || G.affecting.buckled)
|
||||
to_chat(user, "<span class='warning'>[G.affecting] is buckled, you can't flip around [G.affecting.p_them()]!</span>")
|
||||
var/who_is = H.buckled ? "You are" : "[G.affecting] is"
|
||||
to_chat(user, "<span class='warning'>[who_is] buckled, you can't flip around [G.affecting.p_them()]!</span>")
|
||||
return TRUE
|
||||
var/turf/oldloc = user.loc
|
||||
var/turf/newloc = G.affecting.loc
|
||||
|
||||
Reference in New Issue
Block a user