From 5e307335c35f96966e672a70c5c757197a70eef2 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 7 Jan 2020 08:44:36 +0200 Subject: [PATCH] Add missing NULLs to lua function reg array --- src/nhlua.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nhlua.c b/src/nhlua.c index 13e4196c8..f215ea01c 100644 --- a/src/nhlua.c +++ b/src/nhlua.c @@ -884,6 +884,7 @@ lua_State *L; static const struct luaL_Reg nhl_u_functions[] = { { "clear_inventory", nhl_u_clear_inventory }, { "giveobj", nhl_u_giveobj }, + { NULL, NULL } }; void