mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 12:12:25 +01:00
attempt to fix weird command transition behavior
This commit is contained in:
parent
1293771964
commit
4223567f2b
@ -1135,6 +1135,8 @@ int Unit::getCountOfProducedUnits(const UnitType *ut) const{
|
||||
CommandResult Unit::giveCommand(Command *command, bool tryQueue) {
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugUnitCommands).enabled) SystemFlags::OutputDebug(SystemFlags::debugUnitCommands,"\n======================\nUnit Command tryQueue = %d\nUnit Info:\n%s\nCommand Info:\n%s\n",tryQueue,this->toString().c_str(),command->toString().c_str());
|
||||
|
||||
changedActiveCommand = false;
|
||||
|
||||
Chrono chrono;
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugPerformance).enabled) chrono.start();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user