File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 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
2323 public new const string
2424 PluginGuid = "polytech.polytechframework" ,
2525 PluginName = "PolyTech Framework" ,
26- PluginVersion = "0.9.0 " ;
26+ PluginVersion = "0.9.1 " ;
2727 private static BindingList < PolyTechMod >
2828 noncheatMods = new BindingList < PolyTechMod > { } ,
2929 cheatMods = new BindingList < PolyTechMod > { } ;
@@ -124,6 +124,10 @@ public void Awake()
124124 private void Update ( )
125125 {
126126 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+ }
127131 if ( ! flag && globalToggleHotkey . Value . IsDown ( ) )
128132 {
129133 flag = true ;
You can’t perform that action at this time.
0 commit comments