aboutsummaryrefslogtreecommitdiff
path: root/src/script/scripting_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/scripting_game.cpp')
-rw-r--r--src/script/scripting_game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/scripting_game.cpp b/src/script/scripting_game.cpp
index 8047c58cc..4f0350d41 100644
--- a/src/script/scripting_game.cpp
+++ b/src/script/scripting_game.cpp
@@ -105,7 +105,7 @@ void GameScripting::InitializeModApi(lua_State *L, int top)
LuaSettings::Register(L);
}
-void log_deprecated(std::string message)
+void log_deprecated(const std::string &message)
{
- log_deprecated(NULL,message);
+ log_deprecated(NULL, message);
}