aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Autoload/Events.gd
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/Game/Autoload/Events.gd')
-rw-r--r--game/src/Game/Autoload/Events.gd5
1 files changed, 1 insertions, 4 deletions
diff --git a/game/src/Game/Autoload/Events.gd b/game/src/Game/Autoload/Events.gd
index 4387cc7..450d21e 100644
--- a/game/src/Game/Autoload/Events.gd
+++ b/game/src/Game/Autoload/Events.gd
@@ -27,10 +27,7 @@ func _ready():
# into the mod's dir for a temporary fix)
# Usage: OpenVic --compatibility-mode <path>
- var compatibility_mode_path : String
- if ProjectSettings.has_setting(ArgumentParser.argument_setting_path):
- var arg_dictionary : Dictionary = ProjectSettings.get_setting(ArgumentParser.argument_setting_path)
- compatibility_mode_path = arg_dictionary.get(&"compatibility-mode", compatibility_mode_path)
+ var compatibility_mode_path : String = ArgumentParser.get_argument(&"compatibility-mode")
var start := Time.get_ticks_usec()