mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
indestructible windows cant be destroyed by ingame means anymore (#72289)
## About The Pull Request closes: https://github.com/tgstation/tgstation/issues/72271 I tested on a local server to see if there are more indestructible things the rcd can destroy couldnt find any further. Also makes sure indestructible windows cant be destroyed by any unintentional means ## Why It's Good For The Game bug fix ## Changelog 🆑 fix: indestructible windows cant be destroyed by ingame means anymore /🆑 Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
This commit is contained in:
@@ -57,8 +57,9 @@
|
||||
return
|
||||
if(HAS_TRAIT(src, TRAIT_WIELDED)) //destroys windows and grilles in one hit
|
||||
if(istype(A, /obj/structure/window) || istype(A, /obj/structure/grille))
|
||||
var/obj/structure/W = A
|
||||
W.atom_destruction("fireaxe")
|
||||
if(!(A.resistance_flags & INDESTRUCTIBLE))
|
||||
var/obj/structure/W = A
|
||||
W.atom_destruction("fireaxe")
|
||||
|
||||
/*
|
||||
* Bone Axe
|
||||
|
||||
Reference in New Issue
Block a user