Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 200: | Line 200: | ||
// repeat across x-axis | // repeat across x-axis | ||
if (x < 0 || x >= tileRange) { | if (x < 0 || x >= tileRange) { | ||
- | + | x = (x % tileRange + tileRange) % tileRange; | |
- | + | // return null; | |
} | } | ||
Revision as of 01:27, 6 April 2015
Coordinates