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 -1
View File
@@ -68,7 +68,7 @@ function CoreTurnTable() {
function allButton() {
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
$npcmode = DB::db()->queryFirstField("select npcmode from game limit 1");
$npcmode = $gameStor->npcmode;
if($npcmode == 1) {
$site = "a_npcList.php";
$call = "빙의일람";