Fixed PK mode bugs, fixed logout cancellation from using skills

This commit is contained in:
Mind Rapist
2025-12-27 10:23:45 +02:00
parent 11ef2f5780
commit 3b712002a9

View File

@@ -1660,10 +1660,10 @@ void CHARACTER::EnterCombat()
SetPosition(POS_FIGHTING);
// MR-3: Cancel logout on use skill
if (IsCmdCountdownActive())
if (m_pkTimedEvent)
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("전투가 시작 되어 취소 되었습니다."));
CancelCmdCountdown();
event_cancel(&m_pkTimedEvent);
}
// MR-3: -- END OF -- Cancel logout on use skill