Finished install script
Updated configuration data loading Added Website and Game models Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
5393be4daf
commit
dfa3dfb086
34 changed files with 362 additions and 510 deletions
|
|
@ -37,14 +37,14 @@
|
|||
function ShowGalaxySelector ( $Galaxy, $System ) {
|
||||
global $lang;
|
||||
|
||||
if ($Galaxy > MAX_GALAXY_IN_WORLD) {
|
||||
$Galaxy = MAX_GALAXY_IN_WORLD;
|
||||
if ($Galaxy > Wootook::getGameConfig('engine/universe/galaxies')) {
|
||||
$Galaxy = Wootook::getGameConfig('engine/universe/galaxies');
|
||||
}
|
||||
if ($Galaxy < 1) {
|
||||
$Galaxy = 1;
|
||||
}
|
||||
if ($System > MAX_SYSTEM_IN_GALAXY) {
|
||||
$System = MAX_SYSTEM_IN_GALAXY;
|
||||
if ($System > Wootook::getGameConfig('engine/universe/systems')) {
|
||||
$System = Wootook::getGameConfig('engine/universe/systems');
|
||||
}
|
||||
if ($System < 1) {
|
||||
$System = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue