Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 98: | Line 98: | ||
// 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 22:20, 3 April 2015