diff options
| author | jussi | 2024-05-20 15:45:31 +0300 |
|---|---|---|
| committer | jussi | 2024-05-20 15:45:31 +0300 |
| commit | 9edaf7a47b02bd351c400f0c6aec517884449551 (patch) | |
| tree | cf7019c08a033cb0b3739cdbcbb40b7c55fbad89 /src/core.c | |
| parent | e84be852546aecf3e151fd8bb92db88a068c1ea1 (diff) | |
| download | reilua-enhanced-9edaf7a47b02bd351c400f0c6aec517884449551.tar.gz reilua-enhanced-9edaf7a47b02bd351c400f0c6aec517884449551.tar.bz2 reilua-enhanced-9edaf7a47b02bd351c400f0c6aec517884449551.zip | |
Use GetApplicationDirectory instead of GetWorkingDirectory for basePath if no path argument given.
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1591,7 +1591,7 @@ Return game directory (where main.lua is located) - Success return string */ int lcoreGetBasePath( lua_State* L ) { - lua_pushstring( L, state->exePath ); + lua_pushstring( L, state->basePath ); return 1; } |
