aboutsummaryrefslogtreecommitdiff
path: root/game/src/Autoload/Events/GameDebug.gd
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-05-17 20:11:57 +0200
committer GitHub <noreply@github.com>2023-05-17 20:11:57 +0200
commit6c7a1a7c8f55d92882d9364c0ad36a61a3f5614f (patch)
tree64dd37032c36da8e48d5d519ac840e11cc64dc58 /game/src/Autoload/Events/GameDebug.gd
parentaf6a96ed26bca3eaa28c6dca635918061fab7c80 (diff)
parent578eb8c332810656842f72e0bb94bb0d4dcb9f5e (diff)
Merge pull request #117 from OpenVicProject/openvic-rename
Changed from OpenVic2 to OpenVic
Diffstat (limited to 'game/src/Autoload/Events/GameDebug.gd')
-rw-r--r--game/src/Autoload/Events/GameDebug.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/src/Autoload/Events/GameDebug.gd b/game/src/Autoload/Events/GameDebug.gd
index 4e8931f..df7a23a 100644
--- a/game/src/Autoload/Events/GameDebug.gd
+++ b/game/src/Autoload/Events/GameDebug.gd
@@ -14,8 +14,8 @@ func _init():
set_debug_mode(true)
func set_debug_mode(value : bool) -> void:
- ProjectSettings.set_setting("openvic2/debug/enabled", value)
+ ProjectSettings.set_setting("openvic/debug/enabled", value)
print("Set debug mode to: ", value)
func is_debug_mode() -> bool:
- return ProjectSettings.get_setting("openvic2/debug/enabled", false)
+ return ProjectSettings.get_setting("openvic/debug/enabled", false)