mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user