Skip to content

Commit a88a203

Browse files
Fix screwed up hook optimizations condition
Co-authored-by: Uranusian <[email protected]>
1 parent 0a9bbc3 commit a88a203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Phobos.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void Phobos::ApplyOptimizations()
269269
if (Phobos::Optimizations::DisableRadDamageOnBuildings)
270270
Patch::Apply_RAW(0x43FB23, { 0x53, 0x55, 0x56, 0x8B, 0xF1 });
271271

272-
else
272+
if (!SessionClass::IsMultiplayer())
273273
{
274274
// Disable Random2Class_Random_SyncLog
275275
Patch::Apply_RAW(0x65C7D0, { 0xC3, 0x90, 0x90, 0x90, 0x90, 0x90 });

0 commit comments

Comments
 (0)