mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 21:33:27 +00:00
Merge pull request #721 from GregoryLundberg/GL_lua_objectives
objectives.lua show_turn_counter in white
This commit is contained in:
commit
7b22051c3c
@ -68,9 +68,9 @@ local function generate_objectives(cfg)
|
||||
|
||||
if turn_limit >= current_turn then
|
||||
if turn_limit - current_turn + 1 > 1 then
|
||||
turn_counter = "<small> " .. string.format(tostring(_"(%d turns left)"), turn_limit - current_turn + 1) .. "</small>"
|
||||
turn_counter = "<span foreground='white'><small> " .. string.format(tostring(_"(%d turns left)"), turn_limit - current_turn + 1) .. "</small></span>"
|
||||
else
|
||||
turn_counter = "<small> " .. _"(this turn left)" .. "</small>"
|
||||
turn_counter = "<span foreground='white'><small> " .. _"(this turn left)" .. "</small></span>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user