Ignore:
Timestamp:
Aug 29, 2014, 4:18:16 PM (10 years ago)
Author:
alloc
Message:

Fixes: Fixed #49

Location:
binary-improvements/assembly-patcher
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/assembly-patcher/Assembly-Patcher.csproj

    r115 r142  
    3131    <Externalconsole>true</Externalconsole>
    3232  </PropertyGroup>
     33  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Version|AnyCPU' ">
     34    <DebugType>none</DebugType>
     35    <Optimize>false</Optimize>
     36    <OutputPath>..\bin\Release</OutputPath>
     37    <WarningLevel>4</WarningLevel>
     38    <Externalconsole>true</Externalconsole>
     39  </PropertyGroup>
    3340  <ItemGroup>
    3441    <Reference Include="System" />
  • binary-improvements/assembly-patcher/Main.cs

    r133 r142  
    5050                        TypeDefinition type = module.GetType ("GameManager");
    5151                        addHook (type, "SavePlayerData", true, 2, true, typeof(AllocsFixes.PlayerDataStuff).GetMethod ("GM_SavePlayerData"));
    52                         addHook (type, "Awake", true, 0, true, typeof(AllocsFixes.CommandExtensions).GetMethod ("InitCommandExtensions"));
     52                        addHook (type, "Awake", true, 0, true, typeof(AllocsFixes.StateManager).GetMethod ("Awake"));
     53                        addHook (type, "Shutdown", true, 0, false, typeof(AllocsFixes.StateManager).GetMethod ("Shutdown"));
    5354                }
    5455
Note: See TracChangeset for help on using the changeset viewer.