File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- class_name ModLoaderSteam
1
+ class_name _ModLoaderSteam
2
2
extends Node
3
3
4
4
const LOG_NAME := "ModLoader:ThirdParty:Steam"
@@ -30,7 +30,7 @@ static func get_path_to_workshop() -> String:
30
30
path = "/" .join (path_array )
31
31
32
32
# Append the workgame's workshop path
33
- path = path .plus_file ("workshop/content/" + get_steam_app_id ())
33
+ path = path .plus_file ("workshop/content/" + _get_steam_app_id ())
34
34
35
35
return path
36
36
@@ -39,7 +39,7 @@ static func get_path_to_workshop() -> String:
39
39
# directory (ie. res://steam_data.json). This file is used by Godot Workshop
40
40
# Utility (GWU), which was developed by Brotato developer Blobfish:
41
41
# https://github.com/thomasgvd/godot-workshop-utility
42
- static func get_steam_app_id () -> String :
42
+ static func _get_steam_app_id () -> String :
43
43
var game_install_directory := _ModLoaderPath .get_local_folder_dir ()
44
44
var steam_app_id := ""
45
45
var file := File .new ()
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ func _load_zips_in_folder(folder_path: String) -> int:
297
297
# inside each workshop item's folder
298
298
func _load_steam_workshop_zips () -> int :
299
299
var temp_zipped_mods_count := 0
300
- var workshop_folder_path := ModLoaderSteam .get_path_to_workshop ()
300
+ var workshop_folder_path := _ModLoaderSteam .get_path_to_workshop ()
301
301
302
302
ModLoaderLog .info ("Checking workshop items, with path: \" %s \" " % workshop_folder_path , LOG_NAME )
303
303
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const new_global_classes := [
62
62
"path" : "res://addons/mod_loader/api/godot.gd"
63
63
}, {
64
64
"base" : "Node" ,
65
- "class" : "ModLoaderSteam " ,
65
+ "class" : "_ModLoaderSteam " ,
66
66
"language" : "GDScript" ,
67
67
"path" : "res://addons/mod_loader/api/third_party/steam.gd"
68
68
}, {
You can’t perform that action at this time.
0 commit comments