diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-14 16:01:26 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-14 16:01:26 +0200 |
commit | 4d364d3e77667b70bf3261da004f4990ef0c3ada (patch) | |
tree | 5a106ca427ba8704635b3324a352475dd8706ab8 /src/keeper.cpp | |
parent | a925a9ee21c10184a08625e83d2b55850d6cb32f (diff) | |
download | lanes-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.cpp | 2 |
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" |