fix: 진행 중 $rng 호출 관련 버그 수정
This commit is contained in:
@@ -4,8 +4,6 @@ namespace sammo;
|
||||
|
||||
class WarUnit
|
||||
{
|
||||
public readonly RandUtil $rng;
|
||||
|
||||
protected $general;
|
||||
protected $rawNation;
|
||||
|
||||
@@ -34,7 +32,7 @@ class WarUnit
|
||||
protected $logActivatedSkill = [];
|
||||
protected $isFinished = false;
|
||||
|
||||
private function __construct(RandUtil $rng, General $general)
|
||||
private function __construct(public readonly RandUtil $rng, General $general)
|
||||
{
|
||||
$this->rng = $rng;
|
||||
$this->general = $general;
|
||||
|
||||
Reference in New Issue
Block a user