The proc to get zlevel map files used lowertext on the filename. That is bad, for obvious reasons(breaks uppercase paths on linux).
This commit is contained in:
cib
2012-12-16 18:16:21 +01:00
parent 8512bdd8d7
commit 5360915221

View File

@@ -28,10 +28,12 @@ proc/createRandomZlevel()
// var/value = null
if (pos)
name = lowertext(copytext(t, 1, pos))
// No, don't do lowertext here, that breaks paths on linux
name = copytext(t, 1, pos)
// value = copytext(t, pos + 1)
else
name = lowertext(t)
// No, don't do lowertext here, that breaks paths on linux
name = t
if (!name)
continue
@@ -56,4 +58,4 @@ proc/createRandomZlevel()
else
world << "\red \b No away missions found."
return
return