diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-06-23 17:30:30 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-06-23 17:30:30 +0000 |
| commit | 6a9aac65693ebc2c457f29ad4b91ffc1626fa432 (patch) | |
| tree | 79e63b5df94ced609395696819a95b27975e9786 /src | |
| parent | 0893cbbccca12e978d703cf188ba6ed62376706e (diff) | |
fixed some local install bugs1.1.1
Diffstat (limited to 'src')
| -rw-r--r-- | src/lua_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua_state.c b/src/lua_state.c index e440ea0..a60fb7f 100644 --- a/src/lua_state.c +++ b/src/lua_state.c @@ -263,7 +263,7 @@ bool target_loop_install(lua_State *L, const char* lua_file, const char *target) ); } } - lua_pop(L, 1); + lua_pop(L, 2); return true; } @@ -299,10 +299,10 @@ bool target_loop_uninstall(lua_State *L, const char *lua_file, const char *targe "%s %s: 'targets.%s.uninstall' failed: %s\n", print_error, lua_file, target, lua_tostring(L, -1) ); - lua_pop(L, 1); + lua_pop(L, 2); return false; } - lua_pop(L, 1); + lua_pop(L, 2); return true; } |
