game table을 KVStorage로 일부 대체

This commit is contained in:
2018-05-13 00:52:16 +09:00
parent 67ecd514a4
commit 9d6181ede1
36 changed files with 196 additions and 308 deletions
+1 -2
View File
@@ -24,9 +24,8 @@ $connect=$db->get();
increaseRefresh("턴반복", 1);
$myActionCnt = $db->queryFirstField('SELECT con FROM general WHERE `owner`=%i', $userID);
$conLimit = $db->queryFirstField('SELECT conlimit FROM game LIMIT 1');
$con = checkLimit($myActionCnt, $conLimit);
$con = checkLimit($myActionCnt);
if($con >= 2) {
header('location:commandlist.php');
exit();