Potentially fixing issue with cache not invalidating on restart. (#548)

This commit is contained in:
Adam 2021-09-26 10:18:13 -04:00 committed by Francesco Abbate
parent 291616df3f
commit ed3ea35ed5
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ init_lua:
lua_pcall(L, 0, 1, 0); lua_pcall(L, 0, 1, 0);
if (lua_toboolean(L, -1)) { if (lua_toboolean(L, -1)) {
lua_close(L); lua_close(L);
rencache_invalidate();
goto init_lua; goto init_lua;
} }