Skip to content

Commit

Permalink
Update WindowUtil.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Sep 26, 2024
1 parent 07d0567 commit e17302a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/funkin/backend/utils/native/WindowUtil.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

Expand Down

0 comments on commit e17302a

Please sign in to comment.