[wesnoth-commits] [wesnoth/wesnoth] 53a4f6: MP/UI Alerts: formatting, cleanup, and fixed incor...

Charles Dang noreply at github.com
Mon Nov 15 06:21:28 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 53a4f6532f451c6dc64fc354635c3d7fd1b99e3c
      https://github.com/wesnoth/wesnoth/commit/53a4f6532f451c6dc64fc354635c3d7fd1b99e3c
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M src/mp_ui_alerts.cpp

  Log Message:
  -----------
  MP/UI Alerts: formatting, cleanup, and fixed incorrect preference ID

The wrong pref id ("player_enters" as opposed to "player_joins") was being checked in the player_joins function.
The latter is referenced in the MP Alerts dialog, the former nowhere.

Also kept the actual strings in one place so this doesn't happen again.





More information about the Commits mailing list