mirror of
https://github.com/soarqin/DSP_Mods_TO.git
synced 2025-12-16 03:23:32 +08:00
WIP
This commit is contained in:
@@ -23,11 +23,7 @@ internal class Patch_PlayerMoveWalk
|
||||
{
|
||||
if (CruiseAssistPlugin.History.Count == 0 || CruiseAssistPlugin.History.Last() != GameMain.localPlanet.id)
|
||||
{
|
||||
if (CruiseAssistPlugin.History.Count >= 128)
|
||||
{
|
||||
CruiseAssistPlugin.History.RemoveAt(0);
|
||||
}
|
||||
CruiseAssistPlugin.History.Add(GameMain.localPlanet.id);
|
||||
CruiseAssistPlugin.AddHistory(GameMain.localPlanet.id);
|
||||
ConfigManager.CheckConfig(ConfigManager.Step.State);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user