Fixed a glitch where the TXT charserver would not unlock castle.txt after creating it, thus preventing it from being saved correctly.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11941 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-12-18 14:46:19 +00:00
parent acad1ac4dd
commit 11f67e9099

View File

@ -456,6 +456,8 @@ int inter_guild_init()
c++; c++;
} }
fclose(fp);
if (!c) { if (!c) {
ShowStatus(" %s - making Default Data...\n", castle_txt); ShowStatus(" %s - making Default Data...\n", castle_txt);
//デフォルトデータを作成 //デフォルトデータを作成
@ -472,8 +474,6 @@ int inter_guild_init()
return 0; return 0;
} }
fclose(fp);
return 0; return 0;
} }