diff --git a/contracts/Baal.sol b/contracts/Baal.sol index 1b7439b..2fc6f8e 100644 --- a/contracts/Baal.sol +++ b/contracts/Baal.sol @@ -732,17 +732,19 @@ contract Baal is Module, EIP712Upgradeable, ReentrancyGuardUpgradeable, BaseRela if(pauseShares && !sharesToken.paused()){ sharesToken.pause(); + emit SharesPaused(true); } else if(!pauseShares && sharesToken.paused()){ sharesToken.unpause(); + emit SharesPaused(false); } + if(pauseLoot && !lootToken.paused()){ lootToken.pause(); + emit LootPaused(true); } else if(!pauseLoot && lootToken.paused()){ lootToken.unpause(); + emit LootPaused(false); } - - emit SharesPaused(pauseShares); - emit LootPaused(pauseLoot); } /// @notice Baal-or-manager-only function to mint shares.