diff --git a/zone/lua_general.cpp b/zone/lua_general.cpp index 74ed3a721..eb4c54c2f 100644 --- a/zone/lua_general.cpp +++ b/zone/lua_general.cpp @@ -6772,7 +6772,6 @@ luabind::scope lua_register_random() { )]; } - luabind::scope lua_register_events() { return luabind::class_("Event") .enum_("constants") @@ -8008,7 +8007,6 @@ luabind::scope lua_register_journal_mode() { )]; } - luabind::scope lua_register_exp_source() { return luabind::class_("ExpSource") .enum_("constants") diff --git a/zone/lua_general.h b/zone/lua_general.h index 802e8a055..6c195d817 100644 --- a/zone/lua_general.h +++ b/zone/lua_general.h @@ -21,8 +21,10 @@ luabind::scope lua_register_rules_const(); luabind::scope lua_register_rulei(); luabind::scope lua_register_ruler(); luabind::scope lua_register_ruleb(); +luabind::scope lua_register_rules(); luabind::scope lua_register_journal_speakmode(); luabind::scope lua_register_journal_mode(); +luabind::scope lua_register_exp_source(); #endif #endif diff --git a/zone/lua_parser.cpp b/zone/lua_parser.cpp index b485d02ae..0b3e4913e 100644 --- a/zone/lua_parser.cpp +++ b/zone/lua_parser.cpp @@ -1312,11 +1312,13 @@ void LuaParser::MapFunctions(lua_State *L) { lua_register_rulei(), lua_register_ruler(), lua_register_ruleb(), + lua_register_rules(), lua_register_journal_speakmode(), lua_register_journal_mode(), lua_register_expedition(), lua_register_expedition_lock_messages(), - lua_register_buff() + lua_register_buff(), + lua_register_exp_source() )]; } catch(std::exception &ex) {