Merge pull request #5770 from CHOMPStation2/upstream-merge-14530

[MIRROR] prevents persistent dirt (and other filth) from spawning in spess and walls
This commit is contained in:
Razgriz
2023-02-26 00:53:29 -07:00
committed by GitHub

View File

@@ -4,6 +4,8 @@
/datum/persistent/filth/CreateEntryInstance(var/turf/creating, var/list/token)
var/_path = token["path"]
if (isspace(creating) || iswall(creating) ||isopenspace(creating))
return
if (saves_dirt)
new _path(creating, token["age"]+1, token["dirt"])
else