Fixed colors appearing in server logs

This commit is contained in:
Anuken 2020-11-22 17:33:10 -05:00
parent ad71007a0a
commit 335e7489ce
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
- Added tutorial hints (Can be disabled in settings)
- Fixed game crashing on systems without audio devices
- Removed game startup dialog
- Campaign: Balancing of certain preset sectors
- Campaign: Made attacks less frequent
- Campaign: Shifted AI bases toward poles
- Campaign: Increased resource quantities near poles
- Campaign: Fixed sectors being accessible after defeat
- Campaign: Fixed AI builders sometimes blocking ground unit paths

View File

@ -1008,6 +1008,10 @@ public class ServerControl implements ApplicationListener{
currentLogFile = null;
}
for(String value : values){
text = text.replace(value, "");
}
if(currentLogFile == null){
int i = 0;
while(logFolder.child("log-" + i + ".txt").length() >= maxLogLength){