From efbb2bc89a245bd406dffbe0f43269a198da8dc0 Mon Sep 17 00:00:00 2001 From: novgorodschi catalin Date: Thu, 4 Jun 2026 13:19:10 +0300 Subject: [PATCH] Fix lang server set Fix lang server set --- GameEngine/Admin/Mods/editServerSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Admin/Mods/editServerSet.php b/GameEngine/Admin/Mods/editServerSet.php index b60249df..901921de 100755 --- a/GameEngine/Admin/Mods/editServerSet.php +++ b/GameEngine/Admin/Mods/editServerSet.php @@ -67,7 +67,7 @@ $fh = fopen($myFile, 'w') or die("


Can't open file: GameEngine\con $text = preg_replace("'%STARTTIME%'", COMMENCE, $text); $text = preg_replace("'%SSTARTDATE%'", START_DATE, $text); $text = preg_replace("'%SSTARTTIME%'", START_TIME, $text); - $text = preg_replace("'%LANG%'", $_POST['lang'], $text); + $text = preg_replace("'%LANG%'", (defined('SERVER_LANG') ? SERVER_LANG : LANG), $text); $text = preg_replace("'%SPEED%'", $_POST['speed'], $text); $text = preg_replace("'%MAX%'", WORLD_MAX, $text); $text = preg_replace("'%GP%'", $_POST['gpack'], $text);