File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 5
5
using Il2CppInterop . Runtime . InteropTypes . Arrays ;
6
6
using Il2CppSystem . Linq ;
7
7
using LibCpp2IL ;
8
- using MonoMod . Utils ;
9
8
using Newtonsoft . Json . Linq ;
10
9
using PolyMod . Json ;
11
10
using Polytopia . Data ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private static void StartScreen_Start()
35
35
rect . anchorMin = new ( 0 , 0 ) ;
36
36
text . GetComponent < TextMeshProUGUI > ( ) . fontSize = 18 ;
37
37
text . GetComponent < TextMeshProUGUI > ( ) . alignment = TextAlignmentOptions . BottomLeft ;
38
- text . GetComponent < TMPLocalizer > ( ) . Text = $ "PolyMod { Plugin . VERSION } ";
38
+ text . GetComponent < TMPLocalizer > ( ) . Text = $ "PolyMod { ( Plugin . VERSION == "0.0.0" ? "Dev" : Plugin . VERSION ) } ";
39
39
text . AddComponent < LayoutElement > ( ) . ignoreLayout = true ;
40
40
41
41
GameObject originalButton = GameObject . Find ( "StartScreen/WeeklyChallengesButton" ) ;
You can’t perform that action at this time.
0 commit comments