Ignore:
Timestamp:
Feb 7, 2025, 2:46:15 PM (2 weeks ago)
Author:
alloc
Message:

Compatibility fixes for 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/WebServer/src/ModApi.cs

    r503 r504  
    1818                }
    1919
    20                 private ModEvents.EModEventResult GameStartDone (ref ModEvents.SGameStartDoneData _data) {
     20                private void GameStartDone (ref ModEvents.SGameStartDoneData _data) {
    2121                        if (!ConnectionManager.Instance.IsServer) {
    22                                 return ModEvents.EModEventResult.Continue;
     22                                return;
    2323                        }
    2424                       
     
    2929                                ItemIconHandler.Instance.LoadIcons ();
    3030                        }
    31 
    32                         return ModEvents.EModEventResult.Continue;
    3331                }
    3432
    35                 private ModEvents.EModEventResult WorldShuttingDown (ref ModEvents.SWorldShuttingDownData _data) {
     33                private void WorldShuttingDown (ref ModEvents.SWorldShuttingDownData _data) {
    3634                        webInstance?.Disconnect ();
    37 
    38                         return ModEvents.EModEventResult.Continue;
    3935                }
    4036        }
Note: See TracChangeset for help on using the changeset viewer.