Fixed #2389 / Fixed #2388 / Fixed #2387 / Fixed #2386

This commit is contained in:
Anuken
2020-08-20 15:11:00 -04:00
parent 6d20e354b1
commit 562c41c288
8 changed files with 18 additions and 8 deletions

View File

@@ -1247,10 +1247,12 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
timeScale = 1f;
}
enabledControlTime -= Time.delta;
if(block.autoResetEnabled){
enabledControlTime -= Time.delta;
if(enabledControlTime <= 0){
enabled = true;
if(enabledControlTime <= 0){
enabled = true;
}
}
if(sound != null){