Skip to content

Commit

Permalink
Fixed bug where world filename was not known during plugin install
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 16, 2010
1 parent a0d2cd3 commit 5f711c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serialize.cpp
Expand Up @@ -49,6 +49,8 @@ void CMUSHclientDoc::Serialize(CArchive& ar)

Frame.SetStatusMessageNow (strMsg);

SetPathName((LPCTSTR) ar.GetFile ()->GetFilePath ()); // see: http://www.gammon.com.au/forum/?id=10596

if (IsArchiveXML (ar))
Serialize_World_XML (ar);
else
Expand Down

0 comments on commit 5f711c8

Please sign in to comment.