aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/editor.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-11-13 10:05:15 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-11-13 10:05:15 +0100
commit4aa8ca8303b5d25b745e8cae71e283455945bdd1 (patch)
tree1869fbe29ee1e63cdd2c28e93225561d391f4a71 /web/pw-server/src/routes/editor.svelte
parentb0530be5010494f2db3deded340c16a6dc3cbe56 (diff)
downloadplanetwars.dev-4aa8ca8303b5d25b745e8cae71e283455945bdd1.tar.xz
planetwars.dev-4aa8ca8303b5d25b745e8cae71e283455945bdd1.zip
copy input gamestate from player log
Diffstat (limited to 'web/pw-server/src/routes/editor.svelte')
-rw-r--r--web/pw-server/src/routes/editor.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/pw-server/src/routes/editor.svelte b/web/pw-server/src/routes/editor.svelte
index ee4eef9..ab33a79 100644
--- a/web/pw-server/src/routes/editor.svelte
+++ b/web/pw-server/src/routes/editor.svelte
@@ -157,7 +157,7 @@
</div>
<div class="sidebar-right">
{#if viewMode === ViewMode.MatchVisualizer}
- <OutputPane matchLog={selectedMatchLog} />
+ <OutputPane matchData={selectedMatch} matchLog={selectedMatchLog} />
{:else if viewMode === ViewMode.Editor}
<SubmitPane {editSession} on:matchCreated={onMatchCreated} />
{/if}