diff --git a/.changeset/fuzzy-chefs-wait.md b/.changeset/fuzzy-chefs-wait.md new file mode 100644 index 0000000000..68ba41172e --- /dev/null +++ b/.changeset/fuzzy-chefs-wait.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/world": patch +--- + +Added explicit `internal` visibility to the `coreSystem` variable in `CoreModule`. diff --git a/packages/world/src/modules/core/CoreModule.sol b/packages/world/src/modules/core/CoreModule.sol index c897964c8f..c4ee5eb450 100644 --- a/packages/world/src/modules/core/CoreModule.sol +++ b/packages/world/src/modules/core/CoreModule.sol @@ -46,7 +46,7 @@ contract CoreModule is Module { * @dev Since the CoreSystem only exists once per World and writes to * known tables, we can deploy it once and register it in multiple Worlds. */ - address immutable coreSystem = address(new CoreSystem()); + address internal immutable coreSystem = address(new CoreSystem()); /** * @notice Get the name of the module.