Skip to content

Commit 9022427

Browse files
committed
SERVER: Fix MB2 file parsing
1 parent 2ac4d80 commit 9022427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/server/entities/mystery_box.qc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ void(float mbox_file) MBOX_ParseMB2File =
857857
file_line = fgets(mbox_file);
858858

859859
// End of file.
860-
if (file_line == "") {
860+
if (file_line == "" && parsing_state == 1) {
861861
finished_parsing = true;
862862
break;
863863
}

0 commit comments

Comments
 (0)