diff --git a/src/lib/components/Battle.svelte b/src/lib/components/Battle.svelte
index 2aa87dd..c1e6cbb 100644
--- a/src/lib/components/Battle.svelte
+++ b/src/lib/components/Battle.svelte
@@ -21,16 +21,29 @@
-- {status}
- {#if status === 'ongoing'}
+ {#if status === 'ongoing' && chapter !== 4}
- wave
- {wave === 2 ? 'second' : 'first'}
{/if}
- city
- - {city}
+ -
+ {#if typeof city === 'string'}
+ {city}
+ {:else}
+
+ {/if}
+
- scenario
- {scenario}
- - character
- - {character}
+
+ {#if character}
+ - character
+ - {character}
+ {/if}
{#if additionalCharacters}
{#each additionalCharacters as c, i (c.selection)}
@@ -161,6 +174,10 @@
({ target: { value } }) => {
event?.setCharacter(params.battleId, index, value);
};
+
+ const changeCity = ({ target: { value } }) => {
+ event?.setCity(params.battleId, value);
+ };