Slight revert

This commit is contained in:
thepaperpilot 2023-02-25 20:59:29 -06:00
parent c852693b00
commit d70ed118c4

View file

@ -1090,7 +1090,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
.map((streamer, i) => (
<CharacterSlot
id={`battle-streamer-${i}`}
key={streamer.id}
key={i}
character={streamer}
shake={
previewing.value &&
@ -1107,7 +1107,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
<CharacterSlot
id={`battle-member-${i}`}
character={member}
key={member.id}
key={battle.value!.enemyStreamers.length + i}
shake={
previewing.value &&
queue.value[0]?.action === "join" &&
@ -1152,6 +1152,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
<CharacterSlot
id={`battle-enemy-streamer-${i}`}
key={streamer.id}
character={streamer}
shake={
previewing.value &&
queue.value[0]?.target === streamer