From 28003be531a5d0d433d30b8f02d4af51790d0a39 Mon Sep 17 00:00:00 2001 From: Austin Date: Sat, 30 Oct 2021 01:50:03 -0400 Subject: [PATCH] minor clean --- html/Game/PlaceLauncher.ashx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/html/Game/PlaceLauncher.ashx b/html/Game/PlaceLauncher.ashx index d1c41f3..33222d4 100644 --- a/html/Game/PlaceLauncher.ashx +++ b/html/Game/PlaceLauncher.ashx @@ -40,11 +40,6 @@ function constructJson($jobid, $status, $joinscripturl, $authenticationurl, $aut ), JSON_UNESCAPED_SLASHES); } -if ($local) -{ - die(constructJson("1", 2, "https://alphaland.cc/Game/Join.ashx?ticket=111&local=true", "", "", "")); -} - if(!$requesttype || !$placeid || ($_SERVER['HTTP_USER_AGENT'] != $GLOBALS['clientUserAgent'])) { die(http_response_code(400)); @@ -91,7 +86,7 @@ function StartServer($gid) $gameSpawnResult = soapOpenJobEx($GLOBALS['gamesArbiter'], $jobuuid, 60, "Start Server ".$gid, $script, array( $gid, //placeid $port, //gameserver port - "alphaland.cc", //domain + $GLOBALS['domain'], //domain $gameInfo->CreatorId, //place creatorid (bool)$gameInfo->isPersonalServer //ispersonalserver )