From 6d706e00dd237047c2a703ef8d9e29b277a4ca57 Mon Sep 17 00:00:00 2001 From: Mo Date: Tue, 27 Oct 2015 14:21:47 +0300 Subject: [PATCH] set default 4 jumps --- core/src/main/java/ru/trader/core/Profile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/ru/trader/core/Profile.java b/core/src/main/java/ru/trader/core/Profile.java index 7138394..115ef40 100644 --- a/core/src/main/java/ru/trader/core/Profile.java +++ b/core/src/main/java/ru/trader/core/Profile.java @@ -27,7 +27,7 @@ public class Profile { public Profile(Ship ship) { this.ship = ship; refill = true; - jumps = 6; + jumps = 4; lands = 4; routesCount = 30; distanceTime = 0.3; @@ -195,7 +195,7 @@ public class Profile { profile.setStation(null); } profile.setDocked(Boolean.valueOf(values.getProperty("profile.docked","false"))); - profile.setJumps(Integer.valueOf(values.getProperty("profile.jumps", "6"))); + profile.setJumps(Integer.valueOf(values.getProperty("profile.jumps", "4"))); profile.setLands(Integer.valueOf(values.getProperty("profile.lands", "4"))); profile.setPathPriority(PATH_PRIORITY.valueOf(values.getProperty("profile.search.priority", "FAST"))); profile.setRoutesCount(Integer.valueOf(values.getProperty("profile.search.routes", "100")));