커맨드 버튼 재 구성.

$session 접근하는 변수에 Instance 지정
This commit is contained in:
2018-04-06 03:27:17 +09:00
parent 35e8fa952a
commit 11a9985543
12 changed files with 145 additions and 62 deletions
+3
View File
@@ -455,6 +455,7 @@ function getCoreTurn($nation, $level) {
function processCommand($no) {
$session = Session::Instance();
$db = DB::db();
$connect=$db->get();
@@ -684,6 +685,7 @@ where nation='{$general['nation']}'
function command_Single($turn, $command) {
$db = DB::db();
$connect=$db->get();
$session = Session::Instance();
$command = EncodeCommand(0, 0, 0, $command);
@@ -702,6 +704,7 @@ function command_Single($turn, $command) {
function command_Chief($turn, $command) {
$db = DB::db();
$connect=$db->get();
$session = Session::Instance();
$command = EncodeCommand(0, 0, 0, $command);