Ticket #3859: noherdanimalsidleselection.patch
File noherdanimalsidleselection.patch, 617 bytes (added by , 8 years ago) |
---|
-
binaries/data/mods/public/gui/session/input.js
464 464 var entState = GetEntityState(entity); 465 465 if (!entState) 466 466 return false; 467 return hasClass(entState, "Unit") && entState.unitAI && entState.unitAI.isIdle ;467 return hasClass(entState, "Unit") && entState.unitAI && entState.unitAI.isIdle && !hasClass(entState, "Domestic"); 468 468 }, 469 469 "isAnything": function (entity) { 470 470 return true;