Skip to content

Commit

Permalink
nit: forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rsproule committed Jan 2, 2024
1 parent 4c33142 commit 3e6ec00
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions contracts/src/base/TankGameV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@ contract TankGame is ITankGame, TankGameV2Storage {
} else if (hookFunction == IHooks.afterDelegate.selector) {
DelegateParams memory decodedParams = abi.decode(params, (DelegateParams));
selector = IHooks(hook).afterDelegate(address(this), decodedParams, "");
// } else if (hookFunction == IHooks.afterJoin.selector) {
// JoinParams memory decodedParams = abi.decode(params, (JoinParams));
// selector = IHooks(hook).afterJoin(address(this), decodedParams, "");
// } else if (hookFunction == IHooks.beforeJoin.selector) {
// JoinParams memory decodedParams = abi.decode(params, (JoinParams));
// selector = IHooks(hook).beforeJoin(address(this), decodedParams, "");
// } else if (hookFunction == IHooks.afterJoin.selector) {
// JoinParams memory decodedParams = abi.decode(params, (JoinParams));
// selector = IHooks(hook).afterJoin(address(this), decodedParams, "");
// } else if (hookFunction == IHooks.beforeJoin.selector) {
// JoinParams memory decodedParams = abi.decode(params, (JoinParams));
// selector = IHooks(hook).beforeJoin(address(this), decodedParams, "");
} else if (hookFunction == IHooks.beforeMove.selector) {
MoveParams memory decodedParams = abi.decode(params, (MoveParams));
selector = IHooks(hook).beforeMove(address(this), decodedParams, "");
Expand Down

0 comments on commit 3e6ec00

Please sign in to comment.