Put GamePrefs and UserPrefs into Save.

This commit is contained in:
phantom
2013-02-04 15:51:04 +01:00
parent 1b8da256e1
commit 53acf0f3a3
2 changed files with 4 additions and 6 deletions
@@ -31,8 +31,7 @@ ThemeInfo is documented at http://kki.ajworld.net/wiki/ThemeInfo.lua
After that's set up, read the docs.
]]
-- xxx: DON'T USE DATA!!
local PrefPath = "Data/GamePrefs/"
local PrefPath = "Save/GamePrefs/"
--[[ begin internal stuff; no need to edit below this line. ]]
@@ -145,4 +144,4 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]
]]
@@ -31,8 +31,7 @@ ThemeInfo is documented at http://kki.ajworld.net/wiki/ThemeInfo.lua
After that's set up, read the docs.
]]
-- xxx: DON'T WRITE TO DATA!
local PrefPath = "Data/UserPrefs/".. THEME:GetThemeDisplayName() .."/"
local PrefPath = "Save/UserPrefs/".. THEME:GetThemeDisplayName() .."/"
--[[ begin internal stuff; no need to edit below this line. ]]
@@ -145,4 +144,4 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
]]
]]