Skip to content

Commit

Permalink
cleanup log + definite fix to meteorites
Browse files Browse the repository at this point in the history
  • Loading branch information
rheirman committed Jul 21, 2021
1 parent 233e309 commit e455dab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified 1.3/Assemblies/WhatTheHack.dll
Binary file not shown.
1 change: 0 additions & 1 deletion 1.3/Source/WhatTheHack/Buildings/Building_RogueAI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,6 @@ private void GoRogue_CauseZzztts()
public override void Draw()
{
base.Draw();
Log.Message("draw called");
}
public override void ExposeData()
{
Expand Down
4 changes: 3 additions & 1 deletion 1.3/Source/WhatTheHack/Harmony/ThingSetMaker_Meteorite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ static class ThingSetMaker_Meteorite_FindRandomMineableDef
{
static void Postfix(ThingSetMaker_Meteorite __instance, ref ThingDef __result)
{
if(__result == WTH_DefOf.WTH_MechanoidParts)
Log.Message("FindRandomMineableDef called with " + __result.defName);

if (__result == WTH_DefOf.WTH_MineableMechanoidParts)
{
__result = WTH_DefOf.MineableSteel;
Log.Message("Replaced WTH parts by steel");
Expand Down

0 comments on commit e455dab

Please sign in to comment.