forked from ppfun/pixelplanet
add gazprom link
This commit is contained in:
parent
fc8be3d07a
commit
fc1b2763d3
|
@ -236,6 +236,14 @@ class PixelPlainterControls {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Gazprom redirection
|
||||||
|
if (x > 2083 && y > -11408 && x < 2282 && y < -11210) {
|
||||||
|
// eslint-disable-next-line eqeqeq
|
||||||
|
if (state.canvas.canvasId == 0) {
|
||||||
|
window.location.href = 'https://files.catbox.moe/h2fekp.mp4';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const maxCoords = canvasSize / 2;
|
const maxCoords = canvasSize / 2;
|
||||||
if (x < -maxCoords || x >= maxCoords || y < -maxCoords || y >= maxCoords) {
|
if (x < -maxCoords || x >= maxCoords || y < -maxCoords || y >= maxCoords) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user