Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug] Respawn when not(?) spawned #12

Open
Gadjung opened this issue Aug 6, 2021 · 0 comments
Open

[Bug] Respawn when not(?) spawned #12

Gadjung opened this issue Aug 6, 2021 · 0 comments

Comments

@Gadjung
Copy link

Gadjung commented Aug 6, 2021

In steam client when not(?) spawned, hitting "Respawn" button throws error in backend

Tick 264 ran in 12ms; avg: 11.42ms
Unhandled error. Endpoint: /api/user/respawn
K:\xxScreeps\xxscreeps\src\mods\spawn\backend.ts:163
throw new Error('Invalid status');
^
Error: Invalid status
at Object.execute (K:\xxScreeps\xxscreeps\src\mods\spawn\backend.ts:163:10)
at null. (K:\xxScreeps\xxscreeps\src\backend\endpoints\index.ts:23:18)
at null. (K:\xxScreeps\xxscreeps\src\backend\auth\index.ts:121:4)
at async bodyParser (K:\xxScreeps\xxscreeps\node_modules\koa-bodyparser\index.js:95:5)
at null. (K:\xxScreeps\xxscreeps\src\backend\server.ts:37:3)
at async K:\xxScreeps\xxscreeps\node_modules\koa-conditional-get\index.js:15:5
at null. (K:\xxScreeps\xxscreeps\src\backend\socket.ts:96:3)
at null. (K:\xxScreeps\xxscreeps\src\backend\socket.ts:72:3)
Tick 265 ran in 10ms; avg: 11.43ms

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant