Skip to content

Commit

Permalink
Fix io_close crash in addreason
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Aug 28, 2024
1 parent 05412b7 commit 33de063
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ bool CWarList::OnChatCmdAdvanced(char Prefix, int ClientId, int Team, const char
m_pClient->m_Chat.AddLine(-2, 0, aBuf);
return true;
}
io_close(File);
}
File = Storage()->OpenFile(aFilename, IOFLAG_WRITE, IStorage::TYPE_SAVE);
if(!File)
Expand Down

0 comments on commit 33de063

Please sign in to comment.