minor clean

This commit is contained in:
Austin 2021-10-30 01:50:03 -04:00
parent 745fc67e62
commit 28003be531
1 changed files with 1 additions and 6 deletions

View File

@ -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
)