mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-26 01:53:47 +00:00
main dir
SDL_BaseDir was returning the directory that contains the app, now it returns the resources directory
This commit is contained in:
parent
f10520e751
commit
9bc06f0887
3 changed files with 7 additions and 2 deletions
|
|
@ -646,7 +646,7 @@ StringTableEntry Platform::getExecutablePath()
|
|||
return cwd;
|
||||
}
|
||||
|
||||
NSString* string = [[NSBundle mainBundle] pathForResource:@"main" ofType:@"cs"];
|
||||
NSString* string = [[NSBundle mainBundle] pathForResource:@"main" ofType:@"tscript"];
|
||||
if(!string)
|
||||
string = [[NSBundle mainBundle] bundlePath];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue