diff --git a/public/content/instructions.md b/public/content/instructions.md index e4830ae..88a604e 100644 --- a/public/content/instructions.md +++ b/public/content/instructions.md @@ -35,7 +35,7 @@ The best way to gain gold in this game is to attack other players. You can do th
-Untrained recruits gain you 1 gold piece evey 5 minutes - the only unit type that grants a passive income. They also act as a defense force when your soldiers are away, but they have lower combat skills. When recriuts are attacked, it is marked as "undefended" in the combat log. Recruits can still use equipment. +Untrained recruits gain you 1 gold piece evey 10 minutes - the only unit type that grants a passive income. They also act as a defense force when your soldiers are away, but they have lower combat skills. When recriuts are attacked, it is marked as "undefended" in the combat log. Recruits can still use equipment. diff --git a/public/styles/shared.css b/public/styles/shared.css index 216773c..6bdeb4c 100644 --- a/public/styles/shared.css +++ b/public/styles/shared.css @@ -313,7 +313,7 @@ pre { @media screen and (max-width: 480px) { .show.mobile { - display: block; + display: inline-block; } .hide.mobile { diff --git a/server/profiles.js b/server/profiles.js index 4a8afea..8b95730 100644 --- a/server/profiles.js +++ b/server/profiles.js @@ -370,7 +370,7 @@ const ladderRequest = (connection) => (req, res) => { }; const runGoldTick = (connection) => { - let goldTickJob = new CronJob('0 */5 * * * *', () => { + let goldTickJob = new CronJob('0 */10 * * * *', () => { let query = 'UPDATE profiles SET gold = gold + recruits;'; connection.query(query, (err) => { if (err) throw err; diff --git a/src/components/pages/ladder.jsx b/src/components/pages/ladder.jsx index 38c470b..9c04928 100644 --- a/src/components/pages/ladder.jsx +++ b/src/components/pages/ladder.jsx @@ -37,7 +37,9 @@ class Ladder extends React.Component {Username
Soldiers
Recruits
@@ -28,9 +28,9 @@ class PagedLadder extends React.Component {{this.state[key].username}
-{this.state[key].soldiers}
-{this.state[key].recruits}
-{this.state[key].gold}
+Soldiers: {this.state[key].soldiers}
+Recruits: {this.state[key].recruits}
+Gold: {this.state[key].gold}