diff --git a/Mods/SML/Source/SML/Private/Patching/WidgetBlueprintHookManager.cpp b/Mods/SML/Source/SML/Private/Patching/WidgetBlueprintHookManager.cpp index 2b61fe0dfd..30ddfdf9c4 100644 --- a/Mods/SML/Source/SML/Private/Patching/WidgetBlueprintHookManager.cpp +++ b/Mods/SML/Source/SML/Private/Patching/WidgetBlueprintHookManager.cpp @@ -246,7 +246,7 @@ void UWidgetBlueprintHookManager::RegisterWidgetBlueprintHook(UWidgetBlueprintHo } // Widgets are not included on servers - if (!FPlatformProperties::IsServerOnly()) { + if (FPlatformProperties::IsServerOnly()) { return; } diff --git a/Mods/SML/Source/SML/Private/Tooltip/ItemTooltipSubsystem.cpp b/Mods/SML/Source/SML/Private/Tooltip/ItemTooltipSubsystem.cpp index d2c20c191e..68a40e720b 100644 --- a/Mods/SML/Source/SML/Private/Tooltip/ItemTooltipSubsystem.cpp +++ b/Mods/SML/Source/SML/Private/Tooltip/ItemTooltipSubsystem.cpp @@ -57,7 +57,7 @@ FInventoryStack GetStackFromSlot(UObject* SlotWidget) { void UItemTooltipSubsystem::InitializePatches() { // Widgets are not included on servers - if (!FPlatformProperties::IsServerOnly()) { + if (FPlatformProperties::IsServerOnly()) { return; }