Only start the playtime clock if it makes sense

This commit is contained in:
Megamouse 2020-02-07 21:55:29 +01:00
parent 54da9ac7e5
commit 901fc87bca
9 changed files with 35 additions and 23 deletions

View file

@ -55,7 +55,7 @@ void headless_application::InitializeCallbacks()
callbacks.get_save_dialog = []() -> std::unique_ptr<SaveDialogBase> { return std::unique_ptr<SaveDialogBase>(); };
callbacks.get_trophy_notification_dialog = []() -> std::unique_ptr<TrophyNotificationBase> { return std::unique_ptr<TrophyNotificationBase>(); };
callbacks.on_run = []() {};
callbacks.on_run = [](bool /*start_playtime*/) {};
callbacks.on_pause = []() {};
callbacks.on_resume = []() {};
callbacks.on_stop = []() {};