This commit is contained in:
Celtic Minstrel 2017-05-22 20:29:19 -04:00 committed by GitHub
parent d0a36ec41c
commit 62ac5a6897

View file

@ -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)