Skip to content

Commit

Permalink
*resized logos
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphyum committed Jul 13, 2018
1 parent 87d4aaa commit b726abe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions InnerSphereMap/InnerSphereMap/Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -506,5 +506,19 @@ static void Postfix(StarmapRenderer __instance) {
Logger.LogError(e);
}
}

//rezising all the map logos
[HarmonyPatch(typeof(StarmapRenderer), "PlaceLogo")]
public static class StarmapRenderer_PlaceLogo_Patch {

static void Postfix(StarmapRenderer __instance, Faction faction, GameObject logo) {
try{
logo.transform.localScale += new Vector3(10f, 10f, 10f);
}
catch (Exception e) {
Logger.LogError(e);
}
}
}
}
}

0 comments on commit b726abe

Please sign in to comment.