From 9c4215ebba9cf87bd6c669ae41bdaca8393ed148 Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 12 Nov 2019 15:54:08 +1100 Subject: [PATCH] remove zombie skip code --- client/src/actions.jsx | 1 - client/src/animations.socket.jsx | 1 - client/src/events.jsx | 1 - client/src/reducers.jsx | 1 - 4 files changed, 4 deletions(-) diff --git a/client/src/actions.jsx b/client/src/actions.jsx index ef463a40..59959393 100644 --- a/client/src/actions.jsx +++ b/client/src/actions.jsx @@ -39,7 +39,6 @@ export const setPing = value => ({ type: 'SET_PING', value }); export const setPlayer = value => ({ type: 'SET_PLAYER', value }); export const setReclaiming = value => ({ type: 'SET_RECLAIMING', value }); export const setShowLog = value => ({ type: 'SET_SHOW_LOG', value }); -export const setSkip = value => ({ type: 'SET_SKIP', value }); export const setShop = value => ({ type: 'SET_SHOP', value }); export const setSubscription = value => ({ type: 'SET_SUBSCRIPTION', value }); diff --git a/client/src/animations.socket.jsx b/client/src/animations.socket.jsx index ae99e1cc..d42ded1b 100644 --- a/client/src/animations.socket.jsx +++ b/client/src/animations.socket.jsx @@ -78,7 +78,6 @@ function createSocket(store) { store.dispatch(actions.setAnimText(null)); store.dispatch(actions.setAnimating(false)); store.dispatch(actions.setGameEffectInfo(null)); - store.dispatch(actions.setSkip(false)); // set the game state so resolutions don't fire twice store.dispatch(actions.setGame(game)); diff --git a/client/src/events.jsx b/client/src/events.jsx index 29fea424..898f1ef6 100644 --- a/client/src/events.jsx +++ b/client/src/events.jsx @@ -120,7 +120,6 @@ function registerEvents(store) { store.dispatch(actions.setAnimText(null)); store.dispatch(actions.setAnimating(false)); store.dispatch(actions.setGameEffectInfo(null)); - store.dispatch(actions.setSkip(false)); // set the game state so resolutions don't fire twice store.dispatch(actions.setGame(game)); diff --git a/client/src/reducers.jsx b/client/src/reducers.jsx index e8bae9ef..0ddb68b6 100644 --- a/client/src/reducers.jsx +++ b/client/src/reducers.jsx @@ -47,7 +47,6 @@ module.exports = { ping: createReducer(null, 'SET_PING'), player: createReducer(null, 'SET_PLAYER'), reclaiming: createReducer(false, 'SET_RECLAIMING'), - skip: createReducer(false, 'SET_SKIP'), shop: createReducer(false, 'SET_SHOP'), subscription: createReducer(null, 'SET_SUBSCRIPTION'),