턴 지연 버그 수정. 설문조사 % 막대

This commit is contained in:
2018-05-21 03:51:04 +09:00
parent 742e2e8003
commit e45f3a7d03
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -1440,7 +1440,7 @@ function checkDelay() {
$minute = $iter * $term;
$newTurntime = $turntime->add(new \DateInterval("PT{$minute}M"));
$newNextTurntime = $turntime->add(new \DateInterval("PT{$term}M"));
$gameStor->turntime = $newTurntime;
$gameStor->turntime = $newTurntime->format('Y-m-d H:i:s');
$db->update('general', [
'turntime'=> $db->sqleval('DATE_ADD(turntime, INTERVAL %i MINUTE)', $minute)