mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix projects being saved with the wrong name on the Web version
This commit is contained in:
parent
dbe48a4681
commit
597db5d44e
|
@ -452,8 +452,7 @@ func save_project(path: String) -> void:
|
||||||
project_to_save = changed_projects_on_quit[0]
|
project_to_save = changed_projects_on_quit[0]
|
||||||
var include_blended := false
|
var include_blended := false
|
||||||
if OS.get_name() == "Web":
|
if OS.get_name() == "Web":
|
||||||
var file_name: String = save_sprite_html5.get_node("%FileNameLineEdit").text
|
var file_name := project_to_save.name + ".pxo"
|
||||||
file_name += ".pxo"
|
|
||||||
path = "user://".path_join(file_name)
|
path = "user://".path_join(file_name)
|
||||||
include_blended = save_sprite_html5.get_node("%IncludeBlended").button_pressed
|
include_blended = save_sprite_html5.get_node("%IncludeBlended").button_pressed
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue