Weird assertion error when im trying to create a new window

I just solved it. I forgot to let it check whether the gameWin is null or not before setting the title. Thanks alot! :grin: