Changeset 425 for binary-improvements2/MapRendering/src/ModApi.cs
- Timestamp:
- Apr 10, 2023, 8:23:15 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/src/ModApi.cs
r423 r425 10 10 11 11 Web.ServerInitialized += _web => { 12 if (! GamePrefs.GetBool (EnumUtils.Parse<EnumGamePrefs> (nameof (EnumGamePrefs.EnableMapRendering)))) {12 if (!MapRenderer.Enabled) { 13 13 return; 14 14 } … … 24 24 25 25 private void GameStartDone () { 26 if (!ConnectionManager.Instance.IsServer) { 27 return; 28 } 29 30 if (!GamePrefs.GetBool (EnumUtils.Parse<EnumGamePrefs> (nameof (EnumGamePrefs.EnableMapRendering)))) { 26 if (!MapRenderer.Enabled) { 31 27 return; 32 28 }
Note:
See TracChangeset
for help on using the changeset viewer.