mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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)
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user