added 'here be dragons' comment

This commit is contained in:
rainbow napkin 2026-10-16 03:54:33 -04:00
parent 05408bbec4
commit 8e7121bab5

View file

@ -148,8 +148,10 @@ class queuePanel extends panelObj{
defineListeners(){ defineListeners(){
//Render queue when we receive a new copy of the queue data from the server //Render queue when we receive a new copy of the queue data from the server
//Render queue should be called within an arrow function so that it's called with default parameters, and not handed an event as a date //Render queue should be called within an arrow function so that it's called with default parameters, and not handed an event as a date
this.client.queueBroadcastSocket.on("queue", ()=>{this.renderQueue()}); //Seems like before we didnt get the message (see 50b1e15a6c -> 05408bbec4)
this.client.socket.on("archive", ()=>{this.renderQueue.bind(this)}); //so just to reiterate: DON'T FUCKING REMOVE THE ARROW FUNCTIONS BELOW, NO MATTER HOW FUGLY YOU FUCKING THINK THEY ARE
this.client.queueBroadcastSocket.on("queue", ()=>{this.renderQueue()}); //YEAH ASSHOLE I MEAN THIS ONE
this.client.socket.on("archive", ()=>{this.renderQueue.bind(this)}); //THIS ONE TOO, FOR FUCK SAKES YOU BAKED CUNT
this.client.socket.on("start", this.handleStart.bind(this)); this.client.socket.on("start", this.handleStart.bind(this));
this.client.socket.on("end", this.handleEnd.bind(this)); this.client.socket.on("end", this.handleEnd.bind(this));
this.client.socket.on("lock", this.handleScheduleLock.bind(this)); this.client.socket.on("lock", this.handleScheduleLock.bind(this));