diff --git a/source/funkin/backend/utils/native/WindowUtil.hx b/source/funkin/backend/utils/native/WindowUtil.hx index 1b2efaa..12f6cec 100644 --- a/source/funkin/backend/utils/native/WindowUtil.hx +++ b/source/funkin/backend/utils/native/WindowUtil.hx @@ -40,12 +40,14 @@ class WindowUtil public static function setTitle(?s:String, ?normal:Bool = true) { - if (s == null) + if (s != null) { - if (normal) + if (normal)// dis it problem Application.current.window.title = Application.current.meta.get('name') + " - " + s; else Application.current.window.title = s; + } else { + Application.current.window.title = Application.current.meta.get('name'); } }