First attempt at error-resistant /cpl directive
This commit is contained in:
@@ -290,11 +290,7 @@ void World::diff_tanclass(int64_t actor_id, World *master, StreamBuffer *xsb) {
|
||||
|
||||
void World::patch_source(StreamBuffer *sb, DebugCollector *dbc) {
|
||||
DebugBlock dbb(dbc, "patch_source");
|
||||
bool modified = source_db_.patch(sb, dbc);
|
||||
if (modified) {
|
||||
rebuild_sourcedb(0);
|
||||
DebugLine(dbc) << "Source DB rebuilt";
|
||||
}
|
||||
source_db_.patch(sb, dbc);
|
||||
}
|
||||
|
||||
void World::diff_source(World *master, StreamBuffer *sb) {
|
||||
@@ -359,6 +355,7 @@ void World::diff_globals(World *master, StreamBuffer *sb) {
|
||||
|
||||
int64_t World::patch(StreamBuffer *sb, DebugCollector *dbc) {
|
||||
DebugBlock dbb(dbc, "patch");
|
||||
clear_lthread_state();
|
||||
int64_t actor_id = patch_actor(sb, dbc);
|
||||
patch_visible(sb, dbc);
|
||||
bool full = sb->read_bool();
|
||||
|
||||
Reference in New Issue
Block a user