ModderAnonTwo

code help

Apr 4th, 2019
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. -Change all instances of enum Count in artifact index to below to allow QOL adding of new artifacts (Still need to remove count, add your artifactsindex, and add Count back but you won't need to update all these calls anymore)
  2. int lastIndex = Enum.GetNames(typeof(ArtifactIndex)).Length - 2;
  3. ArtifactIndex.Count --> (ArtifactIndex)lastIndex
  4.  
  5. Change "MOD" in RoR2.RoR2Application.GetBuildID() with "MODv_currentversion#"
  6. This way, people can't join a lobby if their mod is out of date and they can easily find out they need to update if they can't join shit
Add Comment
Please, Sign In to add comment