summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index a687b2a..2146510 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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;
}