diff --git a/src/universe.cpp b/src/universe.cpp index 3f58c4a074..a7fa8fc2e2 100644 --- a/src/universe.cpp +++ b/src/universe.cpp @@ -185,7 +185,7 @@ void Universe::add_world(char *str) nper = atoi(part.c_str()); } else { n = atoi(part.substr(0,found).c_str()); - nper = atoi(part.substr(found-1).c_str());\ + nper = atoi(part.substr(found+1).c_str()); } }