aboutsummaryrefslogtreecommitdiff
path: root/src/universe.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/universe.cpp
parenta925a9ee21c10184a08625e83d2b55850d6cb32f (diff)
downloadlanes-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.cpp2
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);