aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2017-04-18 00:07:09 +0200
committerGitHub2017-04-18 00:07:09 +0200
commit6b0c384f7990bd42e21c74e1e5d01e7e071efc40 (patch)
treee977b91d35760fe3a62bbe5abb93657aab62e3ce
parent5ea3c0350a67618bdf161015e7225b62d0948211 (diff)
parent8274029e0332ab35848945db7b9ea5ea03d3d283 (diff)
downloadgodot-6b0c384f7990bd42e21c74e1e5d01e7e071efc40.tar.gz
godot-6b0c384f7990bd42e21c74e1e5d01e7e071efc40.tar.zst
godot-6b0c384f7990bd42e21c74e1e5d01e7e071efc40.zip
Merge pull request #8442 from volzhs/error-load-icon-2.1
Fix error for loading icon image at start up
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 1ab94428e..df79aab1b 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1404,6 +1404,7 @@ bool Main::start() {
String iconpath = GLOBAL_DEF("application/icon", "Variant()");
if (iconpath != "") {
+ iconpath = PathRemap::get_singleton()->get_remap(iconpath);
Image icon;
if (icon.load(iconpath) == OK)
OS::get_singleton()->set_icon(icon);