Skip to content

Commit

Permalink
update 1.3 and 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Cn-mjt44 committed Nov 17, 2022
1 parent 9afc1aa commit 3155452
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion RW_NodeTree/CompChildNodeProccesser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ public IEnumerable<CompBasicNodeComp> AllNodeComp
{
get
{
foreach (ThingComp comp in parent.AllComps)
for (int i = 0; i < parent.AllComps.Count; i++)
{
ThingComp comp = parent.AllComps[i];
CompBasicNodeComp c = comp as CompBasicNodeComp;
if (c != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private static void PostCompAmmoUser_CompEquippable(ThingComp __instance, ref Co
if (comp != null)
{
__result = comp.parent.TryGetComp<CompEquippable>();
Log.Message($"log {__instance}.PostCompAmmoUser_CompEquippable");
//Log.Message($"log {__instance}.PostCompAmmoUser_CompEquippable");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ private static void PostVerb_LaunchProjectileCE_ShotsPerBurst(Verb __instance, r
if (comp != null)
{
__result = __instance.verbProps.burstShotCount;
//Log.Message($"log {__instance}.ShotsPerBurst = {__result}");
}
}

Expand Down

0 comments on commit 3155452

Please sign in to comment.