Skip to content

Commit

Permalink
fixup 30caf61
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed May 23, 2017
1 parent d0a36ec commit 62ac5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/helper.lua
Expand Up @@ -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)
Expand Down

0 comments on commit 62ac5a6

Please sign in to comment.