Fixes Flipping Runtime

This commit is contained in:
KasparoVy
2016-05-22 17:00:13 -04:00
parent acaa71a651
commit ac91d9e37b
@@ -317,7 +317,9 @@
if(lying || weakened)
message = "<B>[src]</B> flops and flails around on the floor."
else
var/obj/item/weapon/grab/G = get_active_hand()
var/obj/item/weapon/grab/G
if(istype(get_active_hand(), /obj/item/weapon/grab))
G = get_active_hand()
if(G && G.affecting)
var/turf/oldloc = loc
var/turf/newloc = G.affecting.loc