Skip to content

Commit

Permalink
Fix widget hooks being disabled on the client instead of on dedicated…
Browse files Browse the repository at this point in the history
… servers
  • Loading branch information
mircearoata committed Sep 16, 2024
1 parent 7325c54 commit d639469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ void UWidgetBlueprintHookManager::RegisterWidgetBlueprintHook(UWidgetBlueprintHo
}

// Widgets are not included on servers
if (!FPlatformProperties::IsServerOnly()) {
if (FPlatformProperties::IsServerOnly()) {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ FInventoryStack GetStackFromSlot(UObject* SlotWidget) {

void UItemTooltipSubsystem::InitializePatches() {
// Widgets are not included on servers
if (!FPlatformProperties::IsServerOnly()) {
if (FPlatformProperties::IsServerOnly()) {
return;
}

Expand Down

0 comments on commit d639469

Please sign in to comment.