Skip to content

Commit 48553bc

Browse files
authored
Merge pull request #1503 from OutpostUniverse/fixTypoCrimeExecutionApprehended
Fix typo in `CrimeExecution` for "apprehended"
2 parents 1d9de11 + be16b38 commit 48553bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

OPHD/States/CrimeExecution.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace
2525
"There are no identified suspects",
2626
"An investigation has been opened",
2727
"A local crime syndicate is under investigation",
28-
"A suspect was aprehended but the goods remain unaccounted for",
28+
"A suspect was apprehended but the goods remain unaccounted for",
2929
"A separatist political movement has claimed responsibility",
3030
"The rebel faction is suspected in preparation for a splinter colony"
3131
};
@@ -122,7 +122,6 @@ void CrimeExecution::stealResources(Structure& structure, const std::array<std::
122122
}
123123

124124
auto resourceIndicesWithStock = structure.storage().getIndicesWithStock();
125-
126125
auto indexToStealFrom = randomNumber.generate<std::size_t>(0, resourceIndicesWithStock.size() - 1);
127126

128127
int amountStolen = calcAmountForStealing(mDifficulty, 2, 5, structure.storage().resources[indexToStealFrom]);

0 commit comments

Comments
 (0)