feat : Replaced Server-Side SceneTree syntax for MainLoop.
This commit is contained in:
@@ -9,14 +9,14 @@ func _initialize():
|
|||||||
|
|
||||||
if not FileAccess.file_exists(changed_files_txt):
|
if not FileAccess.file_exists(changed_files_txt):
|
||||||
print("ERROR: missing changed_files.txt. Cannot build patch.")
|
print("ERROR: missing changed_files.txt. Cannot build patch.")
|
||||||
quit(1)
|
OS.set_exit_code(1)
|
||||||
return
|
return
|
||||||
|
|
||||||
var pck_packer = PCKPacker.new()
|
var pck_packer = PCKPacker.new()
|
||||||
var err = pck_packer.pck_start(output_file)
|
var err = pck_packer.pck_start(output_file)
|
||||||
if err != OK:
|
if err != OK:
|
||||||
print("ERROR: Could not start PCK file: ", output_file)
|
print("ERROR: Could not start PCK file: ", output_file)
|
||||||
quit(1)
|
OS.set_exit_code(1)
|
||||||
return
|
return
|
||||||
|
|
||||||
var file = FileAccess.open(changed_files_txt, FileAccess.READ)
|
var file = FileAccess.open(changed_files_txt, FileAccess.READ)
|
||||||
|
|||||||
Reference in New Issue
Block a user