Change the way the lua engine initialization functions are called
This commit is contained in:
@@ -1258,16 +1258,6 @@ void World::rollback() {
|
||||
assert(snapshot_.empty());
|
||||
}
|
||||
|
||||
// This is the main routine for the DLL. We have to use a registration device
|
||||
// to register this main routine with DrivenEngine. DrivenEngine will then call
|
||||
// it exactly once the first time that the driver initializes an EngineWrapper.
|
||||
//
|
||||
void engine_initialization() {
|
||||
SourceDB::register_lua_builtins();
|
||||
}
|
||||
|
||||
static DrivenEngineInitializerReg eireg(engine_initialization);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Functions that allow the Driver to Peer Directly into the World.
|
||||
|
||||
Reference in New Issue
Block a user