Merge branch 'tracerestrict-sx' into jgrpp
This commit is contained in:
@@ -1023,6 +1023,7 @@ CommandCost CmdProgramSignalTraceRestrictProgMgmt(TileIndex tile, DoCommandFlag
|
||||
if (source_prog) {
|
||||
prog->items = source_prog->items; // copy
|
||||
}
|
||||
prog->Validate();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1057,6 +1058,7 @@ CommandCost CmdProgramSignalTraceRestrictProgMgmt(TileIndex tile, DoCommandFlag
|
||||
}
|
||||
|
||||
new_prog->items.swap(items);
|
||||
new_prog->Validate();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user