Update initialization failure messages
Update failure messages for both the determine_basepath() methods aswell as the check_godot_version() method.
This commit is contained in:
parent
b00916229a
commit
8be2024552
1 changed files with 3 additions and 3 deletions
|
@ -368,7 +368,7 @@ func determine_basepath() -> bool:
|
|||
elif FileAccess.file_exists("res://addons/CORE/.corebasepath"):
|
||||
basepath = "res://addons/CORE/"
|
||||
else:
|
||||
assert(false, "CORE is not located at 'res://CORE/', aborting initialization")
|
||||
printerr("CORE is not located at 'res://CORE/' or 'res://addons/CORE', aborting initialization.")
|
||||
return false
|
||||
return true
|
||||
|
||||
|
@ -378,7 +378,7 @@ func check_godot_version() -> bool:
|
|||
match(version["major"]):
|
||||
4: pass
|
||||
_:
|
||||
printerr("The CORE Framework does not support Godot versions older or newer than 4.x.x")
|
||||
printerr("The CORE Framework does not support Godot versions older or newer than 4.x.x.")
|
||||
return false
|
||||
match(version["minor"]):
|
||||
0: printerr("The CORE Framework does not support Godot versions older than 4.2.x. Please update to Godot 4.2.x to ensure full compatibility.")
|
||||
|
@ -388,7 +388,7 @@ func check_godot_version() -> bool:
|
|||
printerr("The CORE Framework does not support Godot versions newer than 4.2.x. Please downgrade to Godot 4.2.x.")
|
||||
return false
|
||||
if version["status"] != "stable":
|
||||
printerr("The CORE Framework does not support unstable Godot versions. Please switch to Godot stable 4.2.x.")
|
||||
printerr("The CORE Framework does not support unstable Godot versions. Please switch to Godot 4.2.x.stable to ensure full compatibility.")
|
||||
return false
|
||||
return true
|
||||
|
||||
|
|
Loading…
Reference in a new issue