Fixes issues found by new switch lints (#64766)

Very nice addition to sdmm.
This commit is contained in:
AnturK
2022-02-11 01:50:02 -08:00
committed by GitHub
parent c9456f034f
commit 41e02e5e39
9 changed files with 48 additions and 37 deletions
+2 -2
View File
@@ -294,10 +294,10 @@
var/dir2
var/dir3
switch (direction)
if (NORTH || SOUTH)
if (NORTH, SOUTH)
dir2 = EAST
dir3 = WEST
if (EAST || WEST)
if (EAST, WEST)
dir2 = NORTH
dir3 = SOUTH
var/turf/farthest_perpendicular_turf = farthest_turf