Merge pull request #86 from Phantastic-Swan/master

Fixes mice being able to bite wires through catwalks
This commit is contained in:
evilew
2025-02-12 18:35:09 +01:00
committed by GitHub

View File

@@ -79,6 +79,12 @@
if(prob(chew_probability))
var/turf/open/floor/F = get_turf(src)
// GS13 - EDIT
if(istype(F, /turf/open/floor/catwalk_floor))
var/turf/open/floor/catwalk_floor/catwalk = F
if(catwalk.covered)
return
// GS13 - END EDIT
if(istype(F) && !F.intact)
var/obj/structure/cable/C = locate() in F
if(C && prob(15))