mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 20:04:55 +00:00
Reverts 2603703d66
Either the default handlers _are_ needed or we don't care much. But removing (at least the motion one) may give errors. This was SVN commit r24403.
This commit is contained in:
@@ -161,6 +161,16 @@ UnitAI.prototype.UnitFsmSpec = {
|
||||
|
||||
// Default event handlers:
|
||||
|
||||
"MovementUpdate": function(msg) {
|
||||
// ignore spurious movement messages
|
||||
// (these can happen when stopping moving at the same time
|
||||
// as switching states)
|
||||
},
|
||||
|
||||
"ConstructionFinished": function(msg) {
|
||||
// ignore uninteresting construction messages
|
||||
},
|
||||
|
||||
"LosRangeUpdate": function(msg) {
|
||||
// Ignore newly-seen units by default.
|
||||
},
|
||||
@@ -181,10 +191,18 @@ UnitAI.prototype.UnitFsmSpec = {
|
||||
// ignore
|
||||
},
|
||||
|
||||
"PackFinished": function(msg) {
|
||||
// ignore
|
||||
},
|
||||
|
||||
"PickupCanceled": function(msg) {
|
||||
// ignore
|
||||
},
|
||||
|
||||
"TradingCanceled": function(msg) {
|
||||
// ignore
|
||||
},
|
||||
|
||||
"GuardedAttacked": function(msg) {
|
||||
// ignore
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user