From 1eb77ac6b83ffa9854c4e86d43265f1b53c7e9c3 Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Wed, 18 Oct 2023 22:51:21 +0700 Subject: [PATCH] Fix error when upgrading tower --- scripts/stages/1/game_manager.gd | 4 ++++ scripts/stages/2/game_manager.gd | 4 ++++ scripts/stages/3/game_manager.gd | 4 ++++ scripts/stages/4/game_manager.gd | 4 ++++ scripts/stages/5/game_manager.gd | 4 ++++ scripts/stages/6/game_manager.gd | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/scripts/stages/1/game_manager.gd b/scripts/stages/1/game_manager.gd index daedc8e..22de5e5 100644 --- a/scripts/stages/1/game_manager.gd +++ b/scripts/stages/1/game_manager.gd @@ -47,6 +47,10 @@ func on_tower_placement(pos, tower_placement_id): tower_id = 4 3: tower_id = 5 + 4: + tower_id = 4 + 5: + tower_id = 5 _: tower_id = null diff --git a/scripts/stages/2/game_manager.gd b/scripts/stages/2/game_manager.gd index e27f209..67b5771 100644 --- a/scripts/stages/2/game_manager.gd +++ b/scripts/stages/2/game_manager.gd @@ -46,6 +46,10 @@ func on_tower_placement(pos, tower_placement_id): tower_id = 4 3: tower_id = 5 + 4: + tower_id = 4 + 5: + tower_id = 5 _: tower_id = null diff --git a/scripts/stages/3/game_manager.gd b/scripts/stages/3/game_manager.gd index 4033aed..09f30ae 100644 --- a/scripts/stages/3/game_manager.gd +++ b/scripts/stages/3/game_manager.gd @@ -46,6 +46,10 @@ func on_tower_placement(pos, tower_placement_id): tower_id = 4 3: tower_id = 5 + 4: + tower_id = 4 + 5: + tower_id = 5 _: tower_id = null diff --git a/scripts/stages/4/game_manager.gd b/scripts/stages/4/game_manager.gd index 315b8cb..ecb0eed 100644 --- a/scripts/stages/4/game_manager.gd +++ b/scripts/stages/4/game_manager.gd @@ -46,6 +46,10 @@ func on_tower_placement(pos, tower_placement_id): tower_id = 4 3: tower_id = 5 + 4: + tower_id = 4 + 5: + tower_id = 5 _: tower_id = null diff --git a/scripts/stages/5/game_manager.gd b/scripts/stages/5/game_manager.gd index f642271..7b895b6 100644 --- a/scripts/stages/5/game_manager.gd +++ b/scripts/stages/5/game_manager.gd @@ -46,6 +46,10 @@ func on_tower_placement(pos, tower_placement_id): tower_id = 4 3: tower_id = 5 + 4: + tower_id = 4 + 5: + tower_id = 5 _: tower_id = null diff --git a/scripts/stages/6/game_manager.gd b/scripts/stages/6/game_manager.gd index a8f25ce..0be272a 100644 --- a/scripts/stages/6/game_manager.gd +++ b/scripts/stages/6/game_manager.gd @@ -46,6 +46,10 @@ func on_tower_placement(pos, tower_placement_id): tower_id = 4 3: tower_id = 5 + 4: + tower_id = 4 + 5: + tower_id = 5 _: tower_id = null