diff --git a/static/js/seagull.js b/static/js/seagull.js index 7bfc334..78f619f 100644 --- a/static/js/seagull.js +++ b/static/js/seagull.js @@ -121,7 +121,7 @@ async function steal_resource(resource, amount, items) { .then(res => { return res.json(); }) .catch(e => { throw e; }); - if (stealdata["success"]) { + if (stealdata["success"] && amount > 0) { gamestate[resource] += amount; record_log("Stole " + resource + " from a human: " + items.join(", ")); }