Revert "Revert "Merge pull request #838 from ArchieBeepBoop/test1""

This reverts commit 08c8f744a9.
This commit is contained in:
Archie
2021-01-08 17:03:24 -03:00
parent 08c8f744a9
commit 87ce4d858c
141 changed files with 12700 additions and 12694 deletions
+2 -1
View File
@@ -60,8 +60,9 @@
// build_cache will check bad paths for us
var/list/modelCache = build_cache(TRUE, report.bad_paths)
var/static/regex/area_or_turf = regex(@"/(turf|area)/")
for(var/path in report.bad_paths)
if(copytext(path, 1, 7) == "/turf/" || copytext(path, 1, 7) == "/area/")
if(area_or_turf.Find("[path]", 1, 1))
report.loadable = FALSE
// check for tiles with the wrong number of turfs or areas