summaryrefslogtreecommitdiff
path: root/Scripts/NumberArea.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/NumberArea.gd')
-rw-r--r--Scripts/NumberArea.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Scripts/NumberArea.gd b/Scripts/NumberArea.gd
index 443fada..78fc53f 100644
--- a/Scripts/NumberArea.gd
+++ b/Scripts/NumberArea.gd
@@ -9,7 +9,7 @@ func _on_mouse_entered():
if !parent.do_scanning:
return
- if GlobalVariables.is_snapping && GlobalVariables.player.legal:
+ if GlobalVariables.is_snapping && GlobalVariables.player.legal && GlobalVariables.gameloop.current_turns < GlobalVariables.gameloop.turns:
GlobalVariables.player.target = parent
func _on_mouse_exited():