Skip to content

Commit

Permalink
恢复在修复进入载具路径点时被错误移除的停止命令
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimRecya committed Dec 18, 2024
1 parent 999cf0a commit 57668ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Ext/Techno/Hooks.Others.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,10 @@ bool __fastcall CanEnterNow(UnitClass* pTransport, FootClass* pPassenger)
return false;

if (needCalculate && remain < static_cast<int>(pLink->GetTechnoType()->Size))
{
pLink->SendToFirstLink(RadioCommand::NotifyUnlink);
pLink->EnterIdleMode(false, true);
}

return true;
}
Expand Down

0 comments on commit 57668ca

Please sign in to comment.