Added two vars from php to javascript

This commit is contained in:
mdtrooper 2016-04-27 16:31:13 +02:00
parent 78f044dbf5
commit 8faf1079fd
1 changed files with 5 additions and 0 deletions

View File

@ -248,6 +248,11 @@ abstract class Map {
$contants["NODE_IMAGE_PADDING"] = NODE_IMAGE_PADDING;
$contants["DEFAULT_NODE_WIDTH"] = DEFAULT_NODE_WIDTH;
$contants["DEFAULT_NODE_HEIGHT"] = DEFAULT_NODE_HEIGHT;
?>
<script type="text/javascript">
<?php