1턴에 어쩌다 휴식턴이 입력되는 버그 수정

This commit is contained in:
2018-07-27 18:14:16 +09:00
parent 75c0c375d1
commit d7ead25ea4
2 changed files with 7 additions and 6 deletions
+1 -3
View File
@@ -14,11 +14,9 @@ $turn = Util::getReq('turn', 'array_int');
$sel = Util::getReq('sel', 'int');
$commandtype = Util::getReq('commandtype', 'int');
extractMissingPostToGlobals();
increaseRefresh("턴입력", 1);
if(!$turn || $commandtype === null){
if(!$turn || $commandtype === null || $sel === null){
header('location:commandlist.php');
die();
}