Skip to content

Commit

Permalink
chore: temp remove speed
Browse files Browse the repository at this point in the history
  • Loading branch information
xingxinglian committed Oct 18, 2023
1 parent 44c4e32 commit 3c5662f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/src/systems/MoveSystem.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ contract MoveSystem is System {
moveList.length > 0 && moveList.length <= BattleConfig.getMaxMoveDistance(BATTLE_CONFIG_KEY),
"invalid move distance"
);
require(moveList.length <= Player.getSpeed(_msgSender()), "exceed player speed");
// require(moveList.length <= Player.getSpeed(_msgSender()), "exceed player speed");
// check player lock
require(PlayerLocationLock.get(_msgSender()) == 0, "You are locked");
// check continuity
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/worlds.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"4242": {
"address": "0x480f891A7b1AA7018Bb0cCb5Af558d82FA4A5501",
"blockNumber": 27830588
"address": "0x2b50622F55780b14C08a288E41A08b2e2368bA4f",
"blockNumber": 27941048
},
"31337": {
"address": "0x74Df809b1dfC099E8cdBc98f6a8D1F5c2C3f66f8"
Expand Down

0 comments on commit 3c5662f

Please sign in to comment.