refac: General create 함수명 변경
This commit is contained in:
@@ -42,7 +42,7 @@ if ($isChiefTurn && !in_array($commandType, Util::array_flatten(GameConst::$avai
|
||||
|
||||
$gameStor = KVStorage::getStorage($db, 'game_env')->turnOnCache();
|
||||
$env = $gameStor->getAll();
|
||||
$general = General::createGeneralObjFromDB($session->generalID);
|
||||
$general = General::createObjFromDB($session->generalID);
|
||||
|
||||
if (!$isChiefTurn) {
|
||||
$commandObj = buildGeneralCommandClass($commandType, $general, $env);
|
||||
|
||||
Reference in New Issue
Block a user