mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 22:36:34 +00:00
add game start notification
this is similar to previous commit which adds a "party full" notification note: we don't check the notification preference as this should be done in the notification function and not by the caller. however, it seems this is only done with DBUS notifications currently? see previous commit message...
This commit is contained in:
parent
68d92864f9
commit
d8ae9fc970
@ -399,6 +399,7 @@ void wait::start_game()
|
||||
|
||||
LOG_NW << "starting game\n";
|
||||
sound::play_UI_sound(game_config::sounds::mp_game_begins);
|
||||
game_display::get_singleton()->send_notification(_("Wesnoth"), _ ("Game has begun!"));
|
||||
}
|
||||
|
||||
void wait::layout_children(const SDL_Rect& rect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user