blob: 32983d7b181ad46da2186eaf38ea14dd41aae379 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/src/mission.cpp
+++ b/src/mission.cpp
@@ -230,6 +230,9 @@
} else if( type->goal == MGOAL_KILL_MONSTER_SPEC ) {
kill_count_to_reach = kills.kill_count( monster_species ) + monster_kill_goal;
}
+ if( type->deadline_low != 0_turns || type->deadline_high != 0_turns ) {
+ deadline = calendar::turn + rng( type->deadline_low, type->deadline_high );
+ }
type->start( this );
status = mission_status::in_progress;
}
|