this is still acting up idk why
This commit is contained in:
parent
a3f74464d7
commit
612a1e310f
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
import crypto from "./crypto.js";
|
||||
import crypto from "../crypto.js";
|
||||
|
||||
function distF(ent, target) {
|
||||
return ((ent.pos.x - target.pos.x) ** 2) + ((ent.pos.y - target.pos.y) ** 2)
|
||||
|
|
1
index.js
1
index.js
|
@ -10,6 +10,7 @@ var game = new Game();
|
|||
|
||||
game.init();
|
||||
|
||||
app.use('/crypto.js', express.static('./common/crypto.js'));
|
||||
app.use('/js', express.static('./common'));
|
||||
app.use(express.static('./static'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue