fix: Entity.getMobile() должен быть инвертирован

This commit is contained in:
MaXFeeD
2024-03-02 23:47:13 +03:00
parent f7a1d72450
commit 8a50de87ea
@@ -6025,7 +6025,7 @@ var EntityAPI = {
return Entity.setTarget(ent, target);
},
getMobile: function(ent) {
return Entity.isImmobile(ent);
return !Entity.isImmobile(ent);
},
setMobile: function(ent, mobile) {
Entity.setImmobile(ent, !mobile);