File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public class PolyTechMain : PolyTechMod
23
23
public new const string
24
24
PluginGuid = "polytech.polytechframework" ,
25
25
PluginName = "PolyTech Framework" ,
26
- PluginVersion = "0.9.0 " ;
26
+ PluginVersion = "0.9.1 " ;
27
27
private static BindingList < PolyTechMod >
28
28
noncheatMods = new BindingList < PolyTechMod > { } ,
29
29
cheatMods = new BindingList < PolyTechMod > { } ;
@@ -124,6 +124,10 @@ public void Awake()
124
124
private void Update ( )
125
125
{
126
126
PopupQueue . TryShowNextPopup ( ) ;
127
+ if ( numEnabledCheatMods ( ) > 0 && Bridge . IsSimulating ( ) && ! BridgeCheat . m_Cheated ) {
128
+ GameStateSim . m_BudgetUsed = Mathf . RoundToInt ( Budget . CalculateBridgeCost ( ) ) ;
129
+ BridgeCheat . m_Cheated = BridgeCheat . CheckForCheating ( ( float ) GameStateSim . m_BudgetUsed ) ;
130
+ }
127
131
if ( ! flag && globalToggleHotkey . Value . IsDown ( ) )
128
132
{
129
133
flag = true ;
You can’t perform that action at this time.
0 commit comments