aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/OutputPane.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/lib/components/OutputPane.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/lib/components/OutputPane.svelte')
-rw-r--r--web/pw-server/src/lib/components/OutputPane.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/pw-server/src/lib/components/OutputPane.svelte b/web/pw-server/src/lib/components/OutputPane.svelte
index 65ae507..3389324 100644
--- a/web/pw-server/src/lib/components/OutputPane.svelte
+++ b/web/pw-server/src/lib/components/OutputPane.svelte
@@ -1,12 +1,13 @@
<script lang="ts">
import PlayerLog from "./log_viewer/PlayerLog.svelte";
+ export let matchData: object;
export let matchLog: string;
</script>
<div class="output-pane">
<h3 class="output-header">Player log</h3>
- <PlayerLog {matchLog} playerId={1} />
+ <PlayerLog {matchData} {matchLog} playerId={1} />
</div>
<style lang="scss">