diff --git a/client/src/components/game.component.jsx b/client/src/components/game.component.jsx index 0b613f02..85d4a795 100644 --- a/client/src/components/game.component.jsx +++ b/client/src/components/game.component.jsx @@ -1,6 +1,4 @@ const preact = require('preact'); -const { STATS, eventClasses, getCombatText, ConstructAvatar } = require('../utils'); -// const { animationDivs } = require('../animations'); const GameConstruct = require('./game.construct'); function GamePanel(props) { @@ -12,35 +10,12 @@ function GamePanel(props) { setActiveConstruct, sendInstanceState, sendGameReady, - showLog, - toggleLog, skip, quit, } = props; if (!game) return
...
; - // if (showLog) { - // const logs = game.log.map((l, i) => (
{l}
)).reverse(); - // return ( - //
- //
- // - //
- //
 
- //
- //
- //
- // {logs} - //
- //
- // ); - // } - function actionClick() { if (game.phase === 'Finish') { sendInstanceState(game.instance); diff --git a/client/src/reducers.jsx b/client/src/reducers.jsx index 54dab9e2..ce0398fc 100644 --- a/client/src/reducers.jsx +++ b/client/src/reducers.jsx @@ -30,7 +30,6 @@ module.exports = { player: createReducer(null, 'SET_PLAYER'), reclaiming: createReducer(false, 'SET_RECLAIMING'), resolution: createReducer(null, 'SET_RESOLUTION'), - showLog: createReducer(false, 'SET_SHOW_LOG'), skip: createReducer(false, 'SET_SKIP'), team: createReducer([null, null, null], 'SET_SELECTED_CONSTRUCTS'), vboxHighlight: createReducer([], 'SET_VBOX_HIGHLIGHT'),