[HOTFIX] 기보씬 진입 문제 얼리리턴으로 해결
This commit is contained in:
parent
becbb85b06
commit
9c63cb5ad2
@ -109,6 +109,7 @@ public class ReplayManager : Singleton<ReplayManager>
|
|||||||
public void RecordStonePlaced(Enums.StoneType stoneType,int row, int col)
|
public void RecordStonePlaced(Enums.StoneType stoneType,int row, int col)
|
||||||
{
|
{
|
||||||
string stoneColor = stoneType.ToString();
|
string stoneColor = stoneType.ToString();
|
||||||
|
if (_recordingReplayData == null) return;
|
||||||
_recordingReplayData.moves.Add(new Move(stoneColor, row, col));
|
_recordingReplayData.moves.Add(new Move(stoneColor, row, col));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user