diff --git a/serverinfo.php b/serverinfo.php index 39c3e08..c2b7ab7 100644 --- a/serverinfo.php +++ b/serverinfo.php @@ -34,7 +34,7 @@ if (user_logged_in() && is_admin($user_data)) { $stagesXML = simplexml_load_file("engine/XML/stages.xml"); if ($stagesXML !== false) { $stagesData = array(); - // Load config ( stages enabled or disabled) + // Load config (stages enabled or disabled) if ($config['ServerEngine'] == 'TFS_10') foreach ($stagesXML->config->attributes() as $name => $value) $stagesData["$name"] = "$value"; @@ -146,12 +146,12 @@ if (user_logged_in() && is_admin($user_data)) { $comment = strpos($rawLua[$i], '--'); if ($comment !== false) $rawLua[$i] = substr($rawLua[$i], 0, $comment); - $rawLua[$i] = trim($rawLua[$i]); // Remove uneccesary whitespace + $rawLua[$i] = trim($rawLua[$i]); // Remove unnecessary whitespace // If for some reason the line is empty, ignore it. (Could be a "=" symbol inside an inline Lua comment that we sliced away) if (!empty($rawLua[$i])) { // Built a relevant data array $data = explode('=', $rawLua[$i]); - // Remove uneccesary whitespace + // Remove unnecessary whitespace $data[0] = trim($data[0]); $data[1] = trim($data[1]); // TFS 0.3/4 compatibility @@ -216,8 +216,8 @@ $stages = false;
Minium level | -Maximun level | +Minimum level | +Maximum level | Multiplier |
Experience gain kill treshhold: | +Experience gain kill threshold: | % of your level |