Function reconcileTraffic

  • Include this function in your main loop after all creep movement to enable traffic management.

    Warning: if your bucket overflows and this doesn't run, your creeps will not move. Creeps will fall back to unmanaged movement if the reconcileTraffic is not executed after two ticks.

    Parameters

    Returns void

Generated using TypeDoc