mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
grab fix (#18547)
This commit is contained in:
@@ -480,15 +480,13 @@
|
||||
if(lgrab.affecting)
|
||||
visible_message(span_danger("[user] has broken [src]'s grip on [lgrab.affecting]!"))
|
||||
success = TRUE
|
||||
spawn(1)
|
||||
qdel(lgrab)
|
||||
drop_from_inventory(lgrab)
|
||||
if(istype(r_hand, /obj/item/grab))
|
||||
var/obj/item/grab/rgrab = r_hand
|
||||
if(rgrab.affecting)
|
||||
visible_message(span_danger("[user] has broken [src]'s grip on [rgrab.affecting]!"))
|
||||
success = TRUE
|
||||
spawn(1)
|
||||
qdel(rgrab)
|
||||
drop_from_inventory(rgrab)
|
||||
return success
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user