fixup 30caf6149a
This commit is contained in:
parent
d0a36ec41c
commit
62ac5a6897
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ end
|
|||
function helper.deprecate(msg, f)
|
||||
return function(...)
|
||||
if msg then
|
||||
if not message_shown and wesnoth.game_config.debug then
|
||||
if wesnoth.game_config.debug then
|
||||
wesnoth.message("warning", msg)
|
||||
end
|
||||
wesnoth.log("warn", msg)
|
||||
|
|
Loading…
Add table
Reference in a new issue