Merge pull request #86 from Phantastic-Swan/master
Fixes mice being able to bite wires through catwalks
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user