Page MenuHomeCode

No OneTemporary

diff --git a/content/scenes/B00001002.tpl b/content/scenes/B00001002.tpl
index b8c2121..58ac0b5 100644
--- a/content/scenes/B00001002.tpl
+++ b/content/scenes/B00001002.tpl
@@ -1,7 +1,7 @@
-{$xyz = explode(',', substr($CurrentPerso->location_local, 1 -1))}
+{$xyz = explode(',', substr($CurrentPerso->location_local, 1, -1))}
{$x = $xyz[0]}{$y = $xyz[1]}{$z = $xyz[2]}
<p>
Secteur C<span id="sector">{GeoOctocube::get_sector($x, $y, $z)}</span><br />
- Niveau <span id="level">{$z}</span><br />
- Zone <span id="area">{abs($x)}, {abs($y)}</span>
+ Niveau <span id="level">{abs($z)}</span><br />
+ Zone <span id="area">{abs($x)}-{abs($y)}</span>
</p>
\ No newline at end of file

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 11, 11:04 (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20830
Default Alt Text
(698 B)

Event Timeline