summarylogtreecommitdiffstats
path: root/rsu-client-4.2.9-combo-fix.patch
blob: 4dcc937b672371d2ec88ede7ea6e5bc046b09a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/runescape/rsu/framework/API/client/launch/launcher.pm b/runescape/rsu/framework/API/client/launch/launcher.pm
index ad9dec3..ce75065 100755
--- a/runescape/rsu/framework/API/client/launch/launcher.pm
+++ b/runescape/rsu/framework/API/client/launch/launcher.pm
@@ -2774,7 +2774,9 @@ sub loadprms
 		# Next if filename is runescape.prm, oldschool.prm or runescape-beta.prm
 		#next if $prmfilefound =~ /^(runescape|oldschool|runescape-beta)\.prm$/;
 		# Next if filename ends with .example
-		next if $prmfilefound =~ /\.example$/;
+		#next if $prmfilefound =~ /\.example$/;
+                # Next if filenname does not end with .prm
+                next if $prmfilefound !~ /\.prm$/;
 		
 		# Append the file to the combobox
 		$self->{prmSelect}->Append("$prmfilefound");