aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-14 16:01:26 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-14 16:01:26 +0200
commit4d364d3e77667b70bf3261da004f4990ef0c3ada (patch)
tree5a106ca427ba8704635b3324a352475dd8706ab8 /src/keeper.cpp
parenta925a9ee21c10184a08625e83d2b55850d6cb32f (diff)
downloadlanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.tar.gz
lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.tar.bz2
lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.zip
lua_pushliteral -> luaG_pushstring
Diffstat (limited to 'src/keeper.cpp')
-rw-r--r--src/keeper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keeper.cpp b/src/keeper.cpp
index 6aeea45..7038f2c 100644
--- a/src/keeper.cpp
+++ b/src/keeper.cpp
@@ -838,7 +838,7 @@ void Keepers::initialize(Universe& U_, lua_State* L_, int const nbKeepers_, int
838 keeper_.K = _K; 838 keeper_.K = _K;
839 839
840 // Give a name to the state 840 // Give a name to the state
841 std::ignore = luaG_pushstring(_K, "Keeper #%d", i_ + 1); // L_: settings _K: "Keeper #n" 841 luaG_pushstring(_K, "Keeper #%d", i_ + 1); // L_: settings _K: "Keeper #n"
842 if constexpr (HAVE_DECODA_SUPPORT()) { 842 if constexpr (HAVE_DECODA_SUPPORT()) {
843 lua_pushvalue(_K, -1); // _K: "Keeper #n" Keeper #n" 843 lua_pushvalue(_K, -1); // _K: "Keeper #n" Keeper #n"
844 lua_setglobal(_K, "decoda_name"); // L_: settings _K: "Keeper #n" 844 lua_setglobal(_K, "decoda_name"); // L_: settings _K: "Keeper #n"