Bugfix: call on_scene_enter only once

This commit is contained in:
Nikita Lisitsa 2020-09-25 13:43:34 +03:00
parent 64751170cb
commit f7c2d5d554

View file

@ -191,6 +191,7 @@ namespace psemek::app
void app::run()
{
impl().running = true;
if (impl().current_scene == nullptr)
impl().get_scene()->on_scene_enter();
while (running())
{