Skip to content

Commit

Permalink
fix: Entity.getMobile() должен быть инвертирован
Browse files Browse the repository at this point in the history
  • Loading branch information
MaXFeeD committed Mar 2, 2024
1 parent f7a1d72 commit 8a50de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/innercore/coreengine/core-engine.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8a50de8

Please sign in to comment.