diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-07 16:52:59 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-07 16:52:59 +0200 |
commit | 9a7c7f5f7ec66576447b4d225066cc388f8ca6b0 (patch) | |
tree | 074c31dc7e8ea867f6f841e287506c129cf5e14c /src/state.cpp | |
parent | c4aeac390daf21510575b6cad3163e9e6d34fd55 (diff) | |
download | lanes-9a7c7f5f7ec66576447b4d225066cc388f8ca6b0.tar.gz lanes-9a7c7f5f7ec66576447b4d225066cc388f8ca6b0.tar.bz2 lanes-9a7c7f5f7ec66576447b4d225066cc388f8ca6b0.zip |
Improvements in compat.h
Diffstat (limited to 'src/state.cpp')
-rw-r--r-- | src/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.cpp b/src/state.cpp index cafabf1..77e1fd9 100644 --- a/src/state.cpp +++ b/src/state.cpp | |||
@@ -352,7 +352,7 @@ namespace state { | |||
352 | 352 | ||
353 | STACK_CHECK(_L, 0); | 353 | STACK_CHECK(_L, 0); |
354 | // after all this, register everything we find in our name<->function database | 354 | // after all this, register everything we find in our name<->function database |
355 | lua_pushglobaltable(_L); // L: _G | 355 | luaG_pushglobaltable(_L); // L: _G |
356 | tools::PopulateFuncLookupTable(_L, -1, {}); | 356 | tools::PopulateFuncLookupTable(_L, -1, {}); |
357 | lua_pop(_L, 1); // L: | 357 | lua_pop(_L, 1); // L: |
358 | STACK_CHECK(_L, 0); | 358 | STACK_CHECK(_L, 0); |