Remove incorrect check from CmdScheduledDispatchAdjust

pull/642/head
Jonathan G Rennison 5 months ago
parent 1edc828b76
commit dee611f5f3

@ -577,7 +577,6 @@ CommandCost CmdScheduledDispatchAdjust(TileIndex tile, DoCommandFlag flags, uint
if (ret.Failed()) return ret;
if (v->orders == nullptr) return CMD_ERROR;
if (v->orders->GetScheduledDispatchScheduleCount() >= 4096) return CMD_ERROR;
if (schedule_index >= v->orders->GetScheduledDispatchScheduleCount()) return CMD_ERROR;

Loading…
Cancel
Save