Fix rare dedicated server crasher

Completely return out of this function, it is not necessary for dedicated server at all. Could crash as it calls a client side packet handler and some ui script related code.
This commit is contained in:
Kawe Mazidjatari 2023-05-01 00:29:46 +02:00
parent 366ff3fb4f
commit 37832ecc00

View File

@ -191,7 +191,7 @@ void Dedicated_Init()
// // MM_HEARTBEAT
// //-------------------------------------------------------------------------
// {
// MM_Heartbeat__ToString.Offset(0xF).Patch({ 0xE9, 0x22, 0x01, 0x00, 0x00 }); // JS --> JMP | Skip ListenServer HeartBeat.
// MM_Heartbeat__ToString.Patch({ 0xC3 }); // SUB --> RET | Return early in ListenServer HeartBeat.
// }
//
// //-------------------------------------------------------------------------