修复一个room房间进入过快可能导致报错的bug

This commit is contained in:
ALIENJACK\alien 2024-12-03 20:16:10 +08:00
parent 02e94317e4
commit 8239e70c9e

View File

@ -49,6 +49,8 @@ namespace AxibugEmuOnline.Client
public override bool OnEnterItem() public override bool OnEnterItem()
{ {
if (m_romFile == null) return false;
if (!m_romFile.RomReady) if (!m_romFile.RomReady)
{ {
m_romFile.BeginDownload(); m_romFile.BeginDownload();