Fix a bug in synchronous model similarity
This commit is contained in:
@@ -61,9 +61,10 @@ World::World(util::WorldType wt) {
|
||||
// Create the tangibles table in the registry.
|
||||
LS.rawset(LuaRegistry, "tangibles", LuaNewTable);
|
||||
|
||||
// Create the globaldb in the registry.
|
||||
// Create the globaldb and oncedb in the registry.
|
||||
if (util::world_type_authoritative(wt)) {
|
||||
LS.rawset(LuaRegistry, "globaldb", LuaNewTable);
|
||||
LS.rawset(LuaRegistry, "oncedb", LuaNewTable);
|
||||
}
|
||||
|
||||
// Initialize the SourceDB. At this stage, the sourcedb is
|
||||
|
||||
Reference in New Issue
Block a user