mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Fixes issue #2032
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:
@@ -28,10 +28,12 @@ proc/createRandomZlevel()
|
|||||||
// var/value = null
|
// var/value = null
|
||||||
|
|
||||||
if (pos)
|
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)
|
// value = copytext(t, pos + 1)
|
||||||
else
|
else
|
||||||
name = lowertext(t)
|
// No, don't do lowertext here, that breaks paths on linux
|
||||||
|
name = t
|
||||||
|
|
||||||
if (!name)
|
if (!name)
|
||||||
continue
|
continue
|
||||||
@@ -56,4 +58,4 @@ proc/createRandomZlevel()
|
|||||||
|
|
||||||
else
|
else
|
||||||
world << "\red \b No away missions found."
|
world << "\red \b No away missions found."
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user