Skip to content

Commit 8db1225

Browse files
committed
Update InnerNetClient.cpp
1 parent 22f69bb commit 8db1225

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hooks/InnerNetClient.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,9 @@ void dInnerNetClient_Update(InnerNetClient* __this, MethodInfo* method)
775775
for (int i = 0; i < (lag ? 169 : 25); ++i) {
776776
auto writer = InnerNetClient_StartRpcImmediately((InnerNetClient*)(*Game::pAmongUsClient), (*Game::pLocalPlayer)->fields._.NetId,
777777
(uint8_t)RpcCalls__Enum::ProtectPlayer, SendOption__Enum::None, p->fields._.OwnerId, NULL);
778-
MessageWriter_WriteString(writer, convert_to_string("This string is written so that other mods can detect overloading easily."), NULL);
778+
MessageWriter_WritePacked(writer, p->fields._.NetId, NULL);
779+
MessageWriter_WriteByte(writer, 0, NULL);
780+
//MessageWriter_WriteString(writer, convert_to_string("This string is written so that other mods can detect overloading easily."), NULL);
779781
InnerNetClient_FinishRpcImmediately((InnerNetClient*)(*Game::pAmongUsClient), writer, NULL);
780782
}
781783
count++;

0 commit comments

Comments
 (0)