try without redlock (its bad anyway)

This commit is contained in:
HF 2022-04-03 18:49:12 +02:00
parent cacccbe23d
commit 02b0afbb52

View File

@ -23,7 +23,7 @@ import OnlineCounter from './packets/OnlineCounter';
import socketEvents from './SocketEvents'; import socketEvents from './SocketEvents';
import chatProvider, { ChatProvider } from '../core/ChatProvider'; import chatProvider, { ChatProvider } from '../core/ChatProvider';
import authenticateClient from './verifyClient'; import authenticateClient from './verifyClient';
import { drawSafeByOffsets } from '../core/draw'; import { drawByOffsets } from '../core/draw';
import { needCaptcha } from '../utils/captcha'; import { needCaptcha } from '../utils/captcha';
import { cheapDetector } from '../core/isProxy'; import { cheapDetector } from '../core/isProxy';
@ -429,7 +429,7 @@ class SocketServer {
coolDown, coolDown,
pxlCnt, pxlCnt,
retCode, retCode,
} = await drawSafeByOffsets( } = await drawByOffsets(
ws.user, ws.user,
ws.canvasId, ws.canvasId,
i, j, i, j,