mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Items exploding while thrown admin option (or on arcane tampered floors) (#33830)
* Items exploding on arcane tampered floors (or as an admin option) * Items exploding on arcane tampered floors (or as an admin option) * throw_impact as suggested * removing redundant check, adding sanities due to qdel possibility * less indents * less wizard cheese * changed method, works muuuch better now * inverted this on request * fixing this --------- Co-authored-by: SECBATON GRIFFON <sage>
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
/obj/item/device/gps/mining,
|
||||
/obj/item/weapon/storage/belt/mining,
|
||||
)
|
||||
|
||||
|
||||
/******************************Lantern*******************************/
|
||||
|
||||
/obj/item/device/flashlight/lantern
|
||||
@@ -791,8 +791,7 @@
|
||||
..()
|
||||
|
||||
/obj/item/device/mobcapsule/throw_impact(atom/A, speed, mob/user)
|
||||
..()
|
||||
if(!tripped)
|
||||
if(!..() && !tripped)
|
||||
if(contained_mob)
|
||||
dump_contents(user)
|
||||
tripped = 1
|
||||
|
||||
Reference in New Issue
Block a user