Skip to content

Commit adfdfed

Browse files
committed
fix IsMutualAlly
1 parent 804d65d commit adfdfed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Misc/Observers.Visibility.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ DEFINE_HOOK(0x692686, DisplayClass_DecideAction_Cloak, 0x6)
133133
if (pTechno->IsOwnedByCurrentPlayer || HouseClass::IsCurrentPlayerObserver())
134134
return ShouldNotCheck;
135135

136-
if (pTechno->Owner->IsMutualAllie(HouseClass::CurrentPlayer))
136+
if (pTechno->Owner->IsMutualAlly(HouseClass::CurrentPlayer))
137137
return ShouldNotCheck;
138138

139139
return ProceedCloakCheck;

0 commit comments

Comments
 (0)