From 4aa8ca8303b5d25b745e8cae71e283455945bdd1 Mon Sep 17 00:00:00 2001
From: Ilion Beyst <ilion.beyst@gmail.com>
Date: Sun, 13 Nov 2022 10:05:15 +0100
Subject: copy input gamestate from player log

---
 web/pw-server/src/routes/editor.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/pw-server/src/routes/editor.svelte')

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}
-- 
cgit v1.2.3

