Fixed the probably most retarded thing one of us has ever done (and I think it wasn't me this time) - connecting Replays now works again

This commit is contained in:
CrushedPixel
2015-08-31 17:32:47 +02:00
parent 5eed7a8246
commit dd1aab16ef

View File

@@ -56,7 +56,7 @@ public class GuiConnectPart extends GuiStudioPart {
OUTER:
for (GuiEntryListStringEntry fileName : filesToConcat) {
for (File file : replayFiles) {
if (fileName.equals(FilenameUtils.getBaseName(file.getAbsolutePath()))) {
if (fileName.getDisplayString().equals(FilenameUtils.getBaseName(file.getAbsolutePath()))) {
inputFiles.add(file);
continue OUTER;
}