Byond minimum version is now 514.1557 (#6626)

* 514.1557

* a
This commit is contained in:
Gandalf
2021-07-01 00:06:33 +01:00
committed by GitHub
parent 32ae2e2659
commit 84fcf3b429
12 changed files with 28 additions and 145 deletions
+1 -7
View File
@@ -287,14 +287,8 @@ GLOBAL_VAR_INIT(icon_holographic_window, init_holographic_window())
var/skip_to_next_turf = FALSE
#if MIN_COMPILER_VERSION >= 514
#warn Please replace the loop below this warning with an `as anything` loop.
#endif
for (var/_content_of_turf in surrounding_turf.contents)
// `as anything` doesn't play well on 513 with special lists such as contents.
// When the minimum version is raised to 514, upgrade this to `as anything`.
var/atom/content_of_turf = _content_of_turf
for (var/atom/content_of_turf as anything in surrounding_turf.contents)
if (content_of_turf.density)
skip_to_next_turf = TRUE
break