Problems with Variables

bool enable ;

//function to disable
function set_Enable_Contract (bool _status) public OnlyOwner{
enable = _status;
//return the status of enable
function getEnable () public view returns(bool) {
return enable;

In ethereum Mainnet is working normally
but in Scroll, i’ve no error when i call the setEnabel but the content of the variable it’s does not changed, why?