summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.c b/src/world.c
index 111b3a3..9a0b4ea 100644
--- a/src/world.c
+++ b/src/world.c
@@ -559,7 +559,7 @@ world* world_create_new()
world* new_world = mem_alloc(sizeof(world));
new_world->simulation_time = time(NULL);
new_world->start_year = gmtime(&new_world->simulation_time)->tm_year;
- new_world->money = 100000.0f;
+ new_world->money = 10000000.0f;
new_world->next_id = 1;
new_world->active_jobs = array_create(sizeof(active_job));
new_world->investments = (company_investments){0};
@@ -1057,7 +1057,7 @@ static void world_update_active_jobs(world* world)
e->active_job_id = INVALID_ID;
// Employee is scheduled to stay at location
- if (job->stay_at_destination) {
+ if (job->stay_at_destination && orig_location->id != e->current_location_id) {
array_push(&endpoints.dest->employees, &e);
}
// Employee started the job from an external location and are returning