Planet storage capacity updates added
Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
66875791e6
commit
e15d9f81a7
9 changed files with 108 additions and 46 deletions
|
|
@ -131,12 +131,12 @@ class Legacies_Empire
|
|||
|
||||
public static function getFieldName($id)
|
||||
{
|
||||
global $resource;
|
||||
$fieldsAlias = Legacies_Empire_Model_Game_FieldsAlias::getSingleton();
|
||||
|
||||
if (!isset($resource[$id])) {
|
||||
if (!isset($fieldsAlias[$id])) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $resource[$id];
|
||||
return $fieldsAlias[$id];
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue