mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
WIP: Yachts now power up upon collecting an item
Power up is speed boost x2 multiplier Lasts 10 seconds Do not stack #story[1250]
This commit is contained in:
@@ -210,7 +210,7 @@ public class MainServerThread implements Runnable, ClientConnectionDelegate {
|
||||
GameState.clearTokens();
|
||||
Random random = new Random();
|
||||
Collections.shuffle(allTokens);
|
||||
for (int i = 0; i < random.nextInt(allTokens.size() - 1); i++) {
|
||||
for (int i = 0; i < random.nextInt(allTokens.size()); i++) {
|
||||
GameState.addToken(allTokens.get(i));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user