Skip to content

Commit cb3a281

Browse files
committed
Fix MindControlRangeLimit check
1 parent 75b447a commit cb3a281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ext/Techno/Body.Update.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ void TechnoExt::ExtData::ApplyMindControlRangeLimit()
13721372
auto const pCapturerExt = TechnoExt::ExtMap.Find(pCapturer)->TypeExtData;
13731373

13741374
if (pCapturerExt->MindControlRangeLimit.Get() > 0 &&
1375-
pThis->DistanceFrom(pCapturer) > pCapturerExt->MindControlRangeLimit.Get())
1375+
pCapturer->DistanceFrom(pThis) > pCapturerExt->MindControlRangeLimit.Get())
13761376
{
13771377
pCapturer->CaptureManager->FreeUnit(pThis);
13781378
}

0 commit comments

Comments
 (0)