mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +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)
|
/datum/persistent/filth/CreateEntryInstance(var/turf/creating, var/list/token)
|
||||||
var/_path = token["path"]
|
var/_path = token["path"]
|
||||||
|
if (isspace(creating) || iswall(creating) ||isopenspace(creating))
|
||||||
|
return
|
||||||
if (saves_dirt)
|
if (saves_dirt)
|
||||||
new _path(creating, token["age"]+1, token["dirt"])
|
new _path(creating, token["age"]+1, token["dirt"])
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user