diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 11:32:58 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 11:32:58 +0100 |
commit | dee0756ff21c1f7dd4eea067dfb90feb1ba4763d (patch) | |
tree | 981ddd4ddc22bc1fae54ce3e0034da746571fb1a /src/universe.cpp | |
parent | 536a64557c82c350fd73ea64c6d4dd1737896579 (diff) | |
download | lanes-dee0756ff21c1f7dd4eea067dfb90feb1ba4763d.tar.gz lanes-dee0756ff21c1f7dd4eea067dfb90feb1ba4763d.tar.bz2 lanes-dee0756ff21c1f7dd4eea067dfb90feb1ba4763d.zip |
lanes/core.[so|dll] → lanes_core.[so|dll]
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 bc309a2..3da0801 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -91,7 +91,7 @@ void Universe::callOnStateCreate(lua_State* const L_, lua_State* const from_, Lo | |||
91 | 91 | ||
92 | // C function: recreate a closure in the new state, bypassing the lookup scheme | 92 | // C function: recreate a closure in the new state, bypassing the lookup scheme |
93 | lua_pushcfunction(L_, std::get<lua_CFunction>(onStateCreateFunc)); // on_state_create() | 93 | lua_pushcfunction(L_, std::get<lua_CFunction>(onStateCreateFunc)); // on_state_create() |
94 | } else { // Lua function located in the config table, copied when we opened "lanes.core" | 94 | } else { // Lua function located in the config table, copied when we opened "lanes_core" |
95 | LUA_ASSERT(from_, std::holds_alternative<uintptr_t>(onStateCreateFunc)); | 95 | LUA_ASSERT(from_, std::holds_alternative<uintptr_t>(onStateCreateFunc)); |
96 | if (mode_ != LookupMode::LaneBody) { | 96 | if (mode_ != LookupMode::LaneBody) { |
97 | // if attempting to call in a keeper state, do nothing because the function doesn't exist there | 97 | // if attempting to call in a keeper state, do nothing because the function doesn't exist there |