mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] Grab Drop Fix (#11714)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
co-authored by
Will
parent
fbc883f4ef
commit
40e617fe21
@@ -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