prevents persistent dirt (and other filth) from spawning in spess and walls

This commit is contained in:
Seris02
2023-02-21 15:25:07 +08:00
parent d4c14d66b5
commit 38c05fb5b9
@@ -4,6 +4,8 @@
/datum/persistent/filth/CreateEntryInstance(var/turf/creating, var/list/token)
var/_path = token["path"]
if (isspace(creating) || iswall(creating))
return
if (saves_dirt)
new _path(creating, token["age"]+1, token["dirt"])
else