fix: Entity.getMobile() должен быть инвертирован
This commit is contained in:
@@ -6025,7 +6025,7 @@ var EntityAPI = {
|
|||||||
return Entity.setTarget(ent, target);
|
return Entity.setTarget(ent, target);
|
||||||
},
|
},
|
||||||
getMobile: function(ent) {
|
getMobile: function(ent) {
|
||||||
return Entity.isImmobile(ent);
|
return !Entity.isImmobile(ent);
|
||||||
},
|
},
|
||||||
setMobile: function(ent, mobile) {
|
setMobile: function(ent, mobile) {
|
||||||
Entity.setImmobile(ent, !mobile);
|
Entity.setImmobile(ent, !mobile);
|
||||||
|
|||||||
Reference in New Issue
Block a user