mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Fix the map moving bug which will cause map hanging.
Please read for detail README in the #6 entry.
This commit is contained in:
@@ -256,6 +256,7 @@ if (isset($neutralarray[0])) {
|
||||
m_c.ad = [<?php echo '['.$map_js;?>];
|
||||
m_c.z = {"x":<?php echo $x ?>,"y":<?php echo $y ?>};
|
||||
m_c.size = 7;
|
||||
m_c.world_max = <?php echo WORLD_MAX; /*TienTN: add a value to handle in unx.js instead of hardcoding*/ ?>;
|
||||
var mdim = {"x":7,"y":7,"rad":3}
|
||||
var mmode = 0;
|
||||
function init_local(){map_init();}
|
||||
|
||||
Reference in New Issue
Block a user