1턴에 어쩌다 휴식턴이 입력되는 버그 수정
This commit is contained in:
+6
-3
@@ -5,10 +5,13 @@ include "lib.php";
|
||||
include "func.php";
|
||||
//로그인 검사
|
||||
|
||||
$commandtype = Util::getReq('commandtype', 'int', 0);
|
||||
$turn = Util::getReq('turn', 'array_int', [0]);
|
||||
$commandtype = Util::getReq('commandtype', 'int');
|
||||
$turn = Util::getReq('turn', 'array_int');
|
||||
|
||||
extractMissingPostToGlobals();
|
||||
if(!$turn || $commandtype === null){
|
||||
header('location:commandlist.php');
|
||||
die();
|
||||
}
|
||||
|
||||
$session = Session::requireGameLogin()->setReadOnly();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user