summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--game/core.rpy6
2 files changed, 4 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 1fb967e..ccba47b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,6 +25,7 @@ game/gfx/assets/*
*.crt
*.json
extra/*
+manaplus/
# DEV USE ONLY
*.dev.*
diff --git a/game/core.rpy b/game/core.rpy
index f8e5b2e..762c0a0 100644
--- a/game/core.rpy
+++ b/game/core.rpy
@@ -105,12 +105,12 @@ init -3 python:
# File Managment Functions
def get_path(path):
- if True or renpy.android:
+ # Not all systems can record on the game folder
+ if renpy.android:
path=path.replace("/", "_")
- #return renpy.loader.get_path(path)
return renpy.config.savedir + "/" + path
else:
- return renpy.loader.get_path(path)
+ return os.path.join(renpy.config.basedir, path)
# Global classes
# We need to override standard list method. Original by Triptych (stackoverflow)