From 9de7aec692def76d973ef8981e69f14f6837b7d0 Mon Sep 17 00:00:00 2001 From: AL-Kateb Date: Tue, 23 Jan 2018 12:18:57 +0000 Subject: [PATCH] Fixed redirecting to the rally point issue #479 --- GameEngine/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 5f148c8b..e0f59d8f 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -3213,7 +3213,7 @@ class Automation { if(file_exists($autoprefix."GameEngine/Prevention/sendunits.txt")) { unlink($autoprefix."GameEngine/Prevention/sendunits.txt"); } - if ($reload) header("Location: ".$_SERVER['PHP_SELF']); + if ($reload) header("Location: ".$_SERVER['REQUEST_URI']); } function DelVillage($wref, $mode=0){