Clean up user data vs. game data
FossilOrigin-Name: d751d8b0b7ca39f458acf12116633d5ebdae0976c8241cf419b49510990f3268
This commit is contained in:
parent
2cd917c394
commit
095af0a1e7
4 changed files with 28 additions and 21 deletions
|
@ -384,8 +384,10 @@ load_world(OFString *mname) // still supports all map formats that have existed
|
|||
if (identexists(aliasname))
|
||||
alias(aliasname, @"");
|
||||
}
|
||||
execfile(@"data/default_map_settings.cfg");
|
||||
execfile(pcfname);
|
||||
execfile(mcfname);
|
||||
OFIRI *gameDataIRI = Cube.sharedInstance.gameDataIRI;
|
||||
execfile([gameDataIRI IRIByAppendingPathComponent:
|
||||
@"data/default_map_settings.cfg"]);
|
||||
execfile([gameDataIRI IRIByAppendingPathComponent:pcfname]);
|
||||
execfile([gameDataIRI IRIByAppendingPathComponent:mcfname]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue