Get_Area(), Event, and grab fixes

This commit fixes the following things:
 - Get_Area() now properly returns the area
 - Events will no longer runtime upon being manually triggered by an admin
 - The prison break event works again
 - Grabbing will no longer runtime (May result in people with pixel
   offsets from a grab being stuck, better than a runtime)
This commit is contained in:
Tigercat2000
2015-05-12 17:04:28 -07:00
parent 59cef3fa73
commit 3a6ab84e83
4 changed files with 26 additions and 44 deletions
+5 -4
View File
@@ -408,10 +408,11 @@
..()
/obj/item/weapon/grab/Destroy()
affecting.pixel_x = 0
affecting.pixel_y = 0 //used to be an animate, not quick enough for del'ing
affecting.layer = initial(affecting.layer)
if(affecting) affecting.grabbed_by -= src
if(affecting)
affecting.pixel_x = 0
affecting.pixel_y = 0 //used to be an animate, not quick enough for del'ing
affecting.layer = initial(affecting.layer)
affecting.grabbed_by -= src
del(hud)
..()