Fix shared inventory bug
This commit is contained in:
1 parent
34ba096146
commit
584b00228e
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ for (let [color, borderColor] of PLAYER_COLORS) {
|
|||||||
x, y, a,
|
x, y, a,
|
||||||
c: color, cb: borderColor,
|
c: color, cb: borderColor,
|
||||||
p: PLAYER_INITIAL_POWER,
|
p: PLAYER_INITIAL_POWER,
|
||||||
weapons: [...PLAYER_STARTING_WEAPONS],
|
weapons: PLAYER_STARTING_WEAPONS.map(x => ({...x})), // FIXME
|
||||||
currentWeapon: 0,
|
currentWeapon: 0,
|
||||||
energy: PLAYER_MAX_ENERGY,
|
energy: PLAYER_MAX_ENERGY,
|
||||||
ai: i !== 0 ? sample(Object.keys(AI_TYPES)) : undefined,
|
ai: i !== 0 ? sample(Object.keys(AI_TYPES)) : undefined,
|
||||||
|
|||||||
Reference in new issue
Block a user