Ignore:
Timestamp:
Sep 3, 2014, 2:35:10 PM (10 years ago)
Author:
alloc
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/assembly-patcher/Main.cs

    r144 r159  
    6464                        TypeDefinition type = module.GetType ("GameManager");
    6565                        addHook (type, "RequestToSpawnPlayer", true, 5, true, typeof(AllocsFixes.AllocsLogFunctions).GetMethod ("RequestToSpawnPlayer"));
    66                         addHook (type, "PlayerDisconnected", true, 1, false, typeof(AllocsFixes.AllocsLogFunctions).GetMethod ("PlayerDisconnected"));
     66                        type = module.GetType ("ConnectionManager");
     67                        addHook (type, "RemovePlayer", true, 2, false, typeof(AllocsFixes.AllocsLogFunctions).GetMethod ("PlayerDisconnected"));
    6768                }
    6869
Note: See TracChangeset for help on using the changeset viewer.