Adjust GameVariables

This commit is contained in:
2025-12-18 18:13:31 +08:00
parent 3956a6ffab
commit aae09b5696
3 changed files with 9 additions and 1 deletions

View File

@@ -215,6 +215,9 @@ namespace Services {
/// </param>
/// <returns></returns>
public void TrySwitch(Vector2Int position) {
if (!this.gameVariables.debugMode)
return;
Gem gem = this.gameBoard.GetGemAt(position);
if(gem == null)
return;