feat: replace game schedules with logical ticks

This commit is contained in:
Hide_D authored and Hide_D committed 2026-08-04 20:37:56 +09:00
1 parent 136acadd04
commit 5d9512ced7
69 files changed
+1616 -519

No files matched your search

+1 -1
View File
@@ -653,7 +653,7 @@ class GeneralBuilder{
$officerLevel = $nationID?1:0;
}
$turntime = \sammo\getRandTurn($this->rng, $env['turnterm'], new \DateTimeImmutable($env['turntime']));
$turntime = \sammo\getRandTurn($this->rng, $env['turnterm'], Util::toInt($env['turntime']));
if($this->killturn){
$killturn = $this->killturn;