fix update pre calc player by action

This commit is contained in:
salam committed 2026-10-12 08:35:42 +02:00
1 parent 62a2e1710a
commit 5926e4e226
7 files changed
+190 -306

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Console\Commands;
use App\Traits\UpdateHelper;
use Illuminate\Console\Command;
class PreCalcPlayer extends Command
{
use UpdateHelper;
protected $signature = 'grp:ply {--d}';
protected $description = 'player pre calculations';
public function handleUpdate(int $playerCount): void
{
// Have fun running imports here
// Examples can be found in the ImportHelper trait
$this->updatePlayers($playerCount);
}
}