Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

capitalization of cmp

  • Loading branch information...
commit 459d48f649828a64fe5d161bca6779d340c89db7 1 parent 3c61400
@niklasvh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/missions.js
View
4 js/missions.js
@@ -62,7 +62,7 @@ GTA.parseINI = function ( data ) {
GTA.Error( "No map defined in MISSION.INI (compressed line " + i + ")" );
}
defining = "objects";
- matched[1] = matched[1].toUpperCase();
+ matched[1] = matched[1];
this.missions[ matched[1] ] = new GTA.Missions();
currentMap = this.missions[ matched[1] ];
//console.log(currentMap);
@@ -72,7 +72,7 @@ GTA.parseINI = function ( data ) {
currentMap.name = info[0].trim();
currentMap.something = info[1].trim();
- currentMap.cmp = info[2].trim();
+ currentMap.cmp = info[2].trim().toUpperCase();
currentMap.something2 = info[4].trim();
i+=1; // some other stuff?????
Please sign in to comment.
Something went wrong with that request. Please try again.