[游戏管理]游戏实时对局
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace app\process;
|
||||
|
||||
use app\common\service\GamePeriodService;
|
||||
use app\common\service\GameRecordService;
|
||||
use Workerman\Timer;
|
||||
|
||||
/**
|
||||
@@ -13,7 +13,7 @@ class GamePeriodAutoTicker
|
||||
public function onWorkerStart(): void
|
||||
{
|
||||
Timer::add(15, static function (): void {
|
||||
GamePeriodService::tickAutoCreate();
|
||||
GameRecordService::tickAutoCreate();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user