diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-03 10:26:47 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-03 10:26:47 +0100 |
commit | 307fd830eb168005a3ba3d557343284814757eff (patch) | |
tree | eb14512492d58e33585bc5df3f3d9b23d7308934 /src/cancel.cpp | |
parent | ca7657e24549acb8a2dd45fa81c309b5bf9f61ee (diff) | |
download | lanes-307fd830eb168005a3ba3d557343284814757eff.tar.gz lanes-307fd830eb168005a3ba3d557343284814757eff.tar.bz2 lanes-307fd830eb168005a3ba3d557343284814757eff.zip |
New method linda:restrict()
Diffstat (limited to 'src/cancel.cpp')
-rw-r--r-- | src/cancel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cancel.cpp b/src/cancel.cpp index 8fa68d5..31656c4 100644 --- a/src/cancel.cpp +++ b/src/cancel.cpp | |||
@@ -164,7 +164,7 @@ LUAG_FUNC(lane_cancel) | |||
164 | raise_luaL_argerror(L_, StackIndex{ 2 }, "duration cannot be < 0"); | 164 | raise_luaL_argerror(L_, StackIndex{ 2 }, "duration cannot be < 0"); |
165 | } | 165 | } |
166 | lua_remove(L_, 2); // argument is processed, remove it | 166 | lua_remove(L_, 2); // argument is processed, remove it |
167 | } else if (lua_isnil(L_, 2)) { // alternate explicit "infinite timeout" by passing nil before the key | 167 | } else if (lua_isnil(L_, 2)) { // alternate explicit "infinite timeout" by passing nil |
168 | lua_remove(L_, 2); // argument is processed, remove it | 168 | lua_remove(L_, 2); // argument is processed, remove it |
169 | } | 169 | } |
170 | 170 | ||