breaking shit on purpose

This commit is contained in:
ntr
2019-05-14 21:28:58 +10:00
parent c0ea1a40a7
commit 6f199b98f0
5 changed files with 11 additions and 405 deletions
-14
View File
@@ -53,19 +53,6 @@ function GamePanel(props) {
const header = (
<div className="instance-hdr">
<button
className="game-btn instance-btn instance-ui-btn left"
onClick={backClick}>
Back
</button>
<button
className="game-btn instance-btn instance-ui-btn left"
onClick={() => toggleLog(!showLog)}>
Log
</button>
<div className="spacer">
<div>&nbsp;</div>
</div>
<button
className="game-btn instance-btn instance-ui-btn right"
onClick={() => sendGameReady()}>
@@ -177,7 +164,6 @@ function GamePanel(props) {
{header}
{timer}
{PlayerTeam(playerTeam, setActiveSkill)}
<TargetingArrows />
{otherTeams.map(OpponentTeam)}
</section>
);
+3 -3
View File
@@ -9,7 +9,7 @@ const actions = require('./actions');
const setupKeys = require('./keyboard');
const createSocket = require('./socket');
const registerEvents = require('./events');
// const testGame = require('./test.game');
const testGame = require('./test.game');
const Header = require('./components/header.container');
const Body = require('./components/body.component');
@@ -51,8 +51,8 @@ document.fonts.load('16pt "Jura"').then(() => {
store.dispatch(actions.setWs(ws));
ws.connect();
// events.setGame(testGame);
// ws.clearGameStateTimeout();
events.setGame(testGame);
ws.clearGameStateTimeout();
const Cryps = () => (
<main className="cryps" >