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/universe.cpp | |
parent | a925a9ee21c10184a08625e83d2b55850d6cb32f (diff) | |
download | lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.tar.gz lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.tar.bz2 lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.zip |
lua_pushliteral -> luaG_pushstring
Diffstat (limited to 'src/universe.cpp')
-rw-r--r-- | src/universe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp index c95884f..c98e2c8 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -131,7 +131,7 @@ Universe::Universe() | |||
131 | 131 | ||
132 | // Initialize 'timerLinda'; a common Linda object shared by all states | 132 | // Initialize 'timerLinda'; a common Linda object shared by all states |
133 | lua_pushcfunction(L_, LG_linda); // L_: settings lanes.linda | 133 | lua_pushcfunction(L_, LG_linda); // L_: settings lanes.linda |
134 | std::ignore = luaG_pushstring(L_, "lanes-timer"); // L_: settings lanes.linda "lanes-timer" | 134 | luaG_pushstring(L_, "lanes-timer"); // L_: settings lanes.linda "lanes-timer" |
135 | lua_pushinteger(L_, 0); // L_: settings lanes.linda "lanes-timer" 0 | 135 | lua_pushinteger(L_, 0); // L_: settings lanes.linda "lanes-timer" 0 |
136 | lua_call(L_, 2, 1); // L_: settings linda | 136 | lua_call(L_, 2, 1); // L_: settings linda |
137 | STACK_CHECK(L_, 1); | 137 | STACK_CHECK(L_, 1); |