Changeset 382 for binary-improvements2/MapRendering/API.cs
- Timestamp:
- Aug 1, 2022, 12:54:31 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/API.cs
r369 r382 5 5 public class API : IModApi { 6 6 private Web webInstance; 7 private Mod modInstance; 7 8 8 9 public void InitMod (Mod _modInstance) { … … 10 11 ModEvents.GameShutdown.RegisterHandler (GameShutdown); 11 12 ModEvents.CalcChunkColorsDone.RegisterHandler (CalcChunkColorsDone); 13 modInstance = _modInstance; 12 14 } 13 15 … … 18 20 } 19 21 20 webInstance = new Web ( );22 webInstance = new Web (modInstance.Path); 21 23 LogBuffer.Init (); 22 24
Note:
See TracChangeset
for help on using the changeset viewer.