Fixed set up wizard not updating the memory

This commit is contained in:
Shoghi Cervantes 2014-02-08 14:46:08 +01:00
parent 5dd7727548
commit 1f8e25710d

View File

@ -96,7 +96,7 @@ LICENSE;
$config->set("server-port", $port);
echo "[*] ".$this->lang->ram_warning."\n";
echo "[?] ".$this->lang->server_ram." (".self::DEFAULT_MEMORY."): ";
$config->set("gamemode", ((int) $this->getInput(self::DEFAULT_MEMORY))."M");
$config->set("memory-limit", ((int) $this->getInput(self::DEFAULT_MEMORY))."M");
echo "[*] ".$this->lang->gamemode_info."\n";
do{
echo "[?] ".$this->lang->default_gamemode.": (".self::DEFAULT_GAMEMODE."): ";
@ -284,4 +284,4 @@ LICENSE;
}
}
/***REM_END***/
/***REM_END***/