Ignore:
Timestamp:
Aug 1, 2022, 12:54:31 PM (2 years ago)
Author:
alloc
Message:

Switched to use SpaceWizards.HttpListener

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/MapRendering/API.cs

    r369 r382  
    55        public class API : IModApi {
    66                private Web webInstance;
     7                private Mod modInstance;
    78               
    89                public void InitMod (Mod _modInstance) {
     
    1011                        ModEvents.GameShutdown.RegisterHandler (GameShutdown);
    1112                        ModEvents.CalcChunkColorsDone.RegisterHandler (CalcChunkColorsDone);
     13                        modInstance = _modInstance;
    1214                }
    1315
     
    1820                        }
    1921                       
    20                         webInstance = new Web ();
     22                        webInstance = new Web (modInstance.Path);
    2123                        LogBuffer.Init ();
    2224
Note: See TracChangeset for help on using the changeset viewer.