mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 01:56:57 +00:00
Небольшой фикс
This commit is contained in:
@@ -37,6 +37,10 @@ public class GameManager : MonoBehaviour
|
||||
get => _currentState;
|
||||
set
|
||||
{
|
||||
if (_currentState == GameState.Lose ||
|
||||
_currentState == GameState.Win)
|
||||
return;
|
||||
|
||||
_currentState = value;
|
||||
_onStateChanged?.Invoke(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user