mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Made door rigging landmines defusable (#19517)
Made door rigging landmines defusable
This commit is contained in:
@@ -243,11 +243,17 @@
|
||||
|
||||
START_PROCESSING(SSfast_process, src)
|
||||
|
||||
/obj/item/landmine/frag/door_rigging/deactivate(mob/user)
|
||||
STOP_PROCESSING(SSfast_process, src)
|
||||
door_rigged = null
|
||||
. = ..()
|
||||
|
||||
/obj/item/landmine/frag/door_rigging/process(seconds_per_tick)
|
||||
if(QDELETED(door_rigged))
|
||||
STOP_PROCESSING(SSfast_process, src)
|
||||
qdel(src)
|
||||
|
||||
//If the door isn't dense, it means it is open, explode
|
||||
if(!door_rigged.density)
|
||||
STOP_PROCESSING(SSfast_process, src)
|
||||
trigger(null)
|
||||
@@ -260,7 +266,6 @@
|
||||
STOP_PROCESSING(SSfast_process, src)
|
||||
qdel(src)
|
||||
|
||||
|
||||
/**
|
||||
* # Radiation Landmine
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user