From b53f37a9ac9a7fbdb6b707d43b6c7b490549d507 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 12 Dec 2020 23:43:11 -0500 Subject: [PATCH] fix typo --- src/universe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } }