prevent users from being able to collect more than the max stack if they are AFK for too long
This commit is contained in:
parent
b9487ba803
commit
fe5abb18e2
|
@ -132,6 +132,8 @@ export class SocketServer {
|
|||
getClientConfig()
|
||||
);
|
||||
|
||||
await user.update();
|
||||
|
||||
// this impl has the side affect of giving previously offline users all the stack upon reconnecting
|
||||
if (
|
||||
timeSinceLastPlace >= cooldown &&
|
||||
|
|
Loading…
Reference in New Issue