File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -76,24 +76,11 @@ static void Postfix(PointSceneController __instance)
7676 coin . SetActive ( false ) ;
7777 }
7878
79- GameObject tootsObject = GameObject . Find ( TootsTextPath ) ;
80- if ( tootsObject == null )
81- {
82- Plugin . Logger . LogError ( "Unable to find toots text, AutoToot indicator will not be present." ) ;
83- }
84- else
85- {
86- __instance . tootstext . text = "AutoTooted Play" ;
87-
88- Vector3 textPosition = tootsObject . transform . position ;
89- textPosition . x = TootsTextXPosition ;
90- tootsObject . transform . position = textPosition ;
91- }
92-
79+ __instance . tootstext . text = "AutoTooted Play" ;
80+
9381 __instance . Invoke ( nameof ( PointSceneController . showContinue ) , 0.75f ) ;
9482 }
9583
9684 private const string CoinPath = "Canvas/buttons/coingroup/coin" ;
97- private const string TootsTextPath = "Canvas/buttons/coingroup/Text" ;
9885 private const float TootsTextXPosition = - 0.246f ;
99- }
86+ }
You can’t perform that action at this time.
0 commit comments