Update GameScriptFreeFunctions a bit and do misc other fixes I forgot in the last few commits.

This commit is contained in:
hispidence 2022-02-07 20:28:01 +00:00
parent 45d10f2db6
commit 744672633c
8 changed files with 20 additions and 16 deletions

View file

@ -6,6 +6,7 @@
#include "Strings/StringsHandler.h"
#include "Inventory/InventoryHandler.h"
#include "ReservedScriptNames.h"
#include "GameScriptFreeFunctions.h"
static sol::state s_solState;
static sol::table s_rootTable;
@ -45,5 +46,6 @@ void ScriptInterfaceState::Init()
// Misc handlers not assigned above
InventoryHandler::Register(&s_solState, s_rootTable);
GameScriptFreeFunctions::Register(&s_solState, s_rootTable);
}