Fixed infinite loop

Caused by continually checking soldiers after adding items to it.