]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-compiler
find the original shaderlist properly
[xonotic/xonotic.git] / misc / tools / xonotic-map-compiler
index 8b6cd4d59b32ce39eb3ce7eafec4b463a60caa4f..7bdd58e904d3cf744ad7bcb35f7d1bd057f710f5 100755 (executable)
@@ -180,7 +180,7 @@ for my $m(@{$options->{maps}})
        {
                my $previous_shaderlist = undef;
                my $shaderlist = "";
-               if(open my $fh, "<", "$XONOTICDIR/data/xonotic-maps.pk3dir/scripts/shaderlist.txt")
+               if(open my $fh, "<", "$XONOTICDIR/data/scripts/shaderlist.txt")
                {
                        while(<$fh>)
                        {