summaryrefslogtreecommitdiffstats
path: root/Main.gd
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-15 09:29:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-15 09:29:02 +0200
commitf5fad353fa1afbbab81438ac73242821b06e5b61 (patch)
tree9fdd42eefeb59449c6f48764805a9db8bf21da0c /Main.gd
parent29112c7cb534bddb7853fa9a34735bfde43839a1 (diff)
downloadgodot-hexgrid-f5fad353fa1afbbab81438ac73242821b06e5b61.zip
godot-hexgrid-f5fad353fa1afbbab81438ac73242821b06e5b61.tar.gz
must reconfigure camera after map swap
Diffstat (limited to 'Main.gd')
-rw-r--r--Main.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Main.gd b/Main.gd
index 4b141ee..6c8b942 100644
--- a/Main.gd
+++ b/Main.gd
@@ -21,6 +21,7 @@ func on_viewport_resized() -> void:
func on_rotate() -> void:
Map.rotate_map()
+ on_viewport_resized()
func on_toggle() -> void:
Map.set_mode(UI.get_node("LOS").pressed, UI.get_node("Move").pressed)