mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 01:46:16 +00:00
Test for save games the proper way.
This commit is contained in:
parent
e910d9e202
commit
66d46a996f
@ -414,7 +414,7 @@ void wait::generate_menu()
|
||||
str << _("(") << leader_name << _(")");
|
||||
str << COLUMN_SEPARATOR;
|
||||
// Don't show gold for saved games
|
||||
if(sd["save_id"].empty())
|
||||
if(sd["allow_changes"] == "yes")
|
||||
str << sd["gold"] << ' ' << sgettext("unit^Gold") << COLUMN_SEPARATOR;
|
||||
|
||||
int income_amt = lexical_cast_default<int>(sd["income"], 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user