mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Fixes green raptor corpses being able to mine rocks (#87558)
## About The Pull Request Closes #87554 ## Changelog 🆑 fix: Fixed green raptor corpses being able to mine rocks /🆑
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
|
||||
/datum/element/proficient_miner/proc/on_bump(mob/living/source, atom/target)
|
||||
SIGNAL_HANDLER
|
||||
if(!ismineralturf(target))
|
||||
|
||||
if(!ismineralturf(target) || (istype(source) && source.stat != CONSCIOUS))
|
||||
return
|
||||
|
||||
var/turf/closed/mineral/mineral_wall = target
|
||||
|
||||
if(!istype(mineral_wall, /turf/closed/mineral/gibtonite))
|
||||
@@ -21,8 +23,6 @@
|
||||
if(gibtonite_wall.stage == GIBTONITE_UNSTRUCK)
|
||||
mineral_wall.gets_drilled(source)
|
||||
|
||||
|
||||
|
||||
/datum/element/proficient_miner/Detach(datum/source, ...)
|
||||
UnregisterSignal(source, COMSIG_MOVABLE_BUMP)
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user