mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #14530 from Seris02/dirtnotspace
prevents persistent dirt (and other filth) from spawning in spess and walls
This commit is contained in:
committed by
CHOMPStation2
parent
7f52a2318b
commit
b3684c7ec6
@@ -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