Fix hook rethrow, package.json

parent c9c1e9c4
{
"name": "aaaidk",
"name": "hook-miner",
"version": "0.0.1",
"description": "idk",
"description": "A HTML5 clone of the classic Gold Miner Flash game",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack -p",
"watch": "webpack -w --mode=development"
},
"keywords": [],
"keywords": ["game"],
"private": true,
"author": "Evert \"Diamond\" Prants <evert@lunasqu.ee>",
"license": "MIT",
......
......@@ -77,7 +77,7 @@ class Hook extends GameObject {
this.rd = 1
}
if (ctx.mouse['btn0'] && this.d === 0) {
if (ctx.mouse['btn0'] && this.d === 0 && !this.obj) {
this.d = 0
this.md = 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment