Adjust GameVariables
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user