버그 수정
This commit is contained in:
@@ -483,7 +483,7 @@ function getCoreTurn($nation, $level) {
|
||||
}
|
||||
|
||||
|
||||
function processCommand($no) {
|
||||
function processCommand($no, $reduceTurn) {
|
||||
$session = Session::getInstance();
|
||||
$db = DB::db();
|
||||
$gameStor = KVStorage::getStorage($db, 'game_env');
|
||||
@@ -561,6 +561,8 @@ function processCommand($no) {
|
||||
$newKillturn = $general['killturn'] - 1;
|
||||
} elseif($command[0] == 0) {
|
||||
$newKillturn = $general['killturn'] - 1;
|
||||
} elseif($reduceTurn = true){
|
||||
$newKillturn = $general['killturn'] - 1;
|
||||
} else {
|
||||
$newKillturn = $killturn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user