mirror of
https://github.com/FOSS-Supremacy/OpenLiberty.git
synced 2025-04-28 11:57:58 +03:00
10 lines
247 B
GDScript
10 lines
247 B
GDScript
extends Node
|
|
|
|
var gta_path: String
|
|
|
|
func _ready() -> void:
|
|
if OS.has_feature("editor"):
|
|
gta_path = ProjectSettings.globalize_path("res://gta/")
|
|
else:
|
|
gta_path = OS.get_executable_path().get_base_dir() + "/"
|
|
print("GTA path: %s" % gta_path)
|