summaryrefslogtreecommitdiff
path: root/order_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'order_cmd.c')
-rw-r--r--order_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/order_cmd.c b/order_cmd.c
index 92be684e7..2f0e43b39 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -844,7 +844,7 @@ bool CheckOrders(uint data_a, uint data_b)
return false;
/* Only check every 20 days, so that we don't flood the message log */
- if ( ( ( v->day_counter % 20) == 0 ) && (v->owner == _local_player) ) {
+ if ( (v->owner == _local_player) && (v->day_counter % 20 == 0) ) {
int n_st, problem_type = -1;
const Order *order;
const Station *st;