Multiplayer
Multiplayer copied to clipboard
Sync for the devmode repair gizmo
Syncing dev gizmo to repair breakdownables
https://github.com/rwmt/Multiplayer/issues/653 tested, works in dev mode, doesn't break anything outside of the dev mode (normal repair)
Notify_Repaired is called from AI too. Isn't there a lamda for the gizmo or does it call Notify_Repaired directly?
gizmo calls Notify_Repaired directly.
public override IEnumerable<Gizmo> CompGetGizmosExtra()
{
if (DebugSettings.ShowDevGizmos && BrokenDown)
{
yield return new Command_Action
{
defaultLabel = "DEV: Fix breakdown",
action = Notify_Repaired
};
}
}
Its also called from the the FixBroken job driver toils, but i don't think it causes any issues (did a test with pawn fixing things normally)