Refactor code to make it easier to do 'nopredict' inside of any function without having a dependency on world model.
This commit is contained in:
@@ -136,8 +136,6 @@ void World::pair_lua_tables(const IdVector &basis, lua_State *master) {
|
||||
// If the master table is already paired, skip.
|
||||
MLS.rawget(midx, mtnmap, mtab);
|
||||
if (MLS.isnumber(midx)) continue;
|
||||
// If the synch table is not a table, skip.
|
||||
if (!SLS.istable(stab)) continue;
|
||||
// If the synch table doesn't have a number, skip.
|
||||
SLS.rawget(sidx, stnmap, stab);
|
||||
if (!SLS.isnumber(sidx)) continue;
|
||||
|
||||
Reference in New Issue
Block a user