#554 Fixes and General fixes

+Fixed a bug that could have happened in the statistics if there were 0
users in the server
+Fixed a compatibility bug with PHP 7.0
This commit is contained in:
iopietro
2018-07-24 18:19:44 +02:00
parent 81dcd16e3d
commit ee0b4984c2
18 changed files with 375 additions and 418 deletions
+5 -5
View File
@@ -2,16 +2,16 @@
class Artifacts
{
public const
const
/**
* @var integer Default Natars' uid
* @var int Default Natars' uid
*/
NATARS_UID = 3,
/**
* @var integer Default Natars' tribe
* @var int Default Natars' tribe
*/
NATARS_TRIBE = 5,
@@ -128,7 +128,7 @@ class Artifacts
"f2" => 6, "f8" => 6, "f9" => 6, "f12" => 6, "f13" => 6, "f15" => 6],
/**
* @var integer The base amount of Natars' spying units, used when Natars account is created
* @var int The base amount of Natars' spying units, used when Natars account is created
*/
NATARS_BASE_SPY = 1500;
@@ -178,7 +178,7 @@ class Artifacts
}
/**
* Called when Natars account need to be created, creates his account and capital village
* Called when Natars account needs to be created, creates his account and capital village
*
*/