Skip to content

Commit 3155452

Browse files
committed
update 1.3 and 1.4
1 parent 9afc1aa commit 3155452

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

RW_NodeTree/CompChildNodeProccesser.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ public IEnumerable<CompBasicNodeComp> AllNodeComp
6868
{
6969
get
7070
{
71-
foreach (ThingComp comp in parent.AllComps)
71+
for (int i = 0; i < parent.AllComps.Count; i++)
7272
{
73+
ThingComp comp = parent.AllComps[i];
7374
CompBasicNodeComp c = comp as CompBasicNodeComp;
7475
if (c != null)
7576
{

RW_NodeTree/Patch/CombatExtended/CombatExtended_CompAmmoUser_Patcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private static void PostCompAmmoUser_CompEquippable(ThingComp __instance, ref Co
2323
if (comp != null)
2424
{
2525
__result = comp.parent.TryGetComp<CompEquippable>();
26-
Log.Message($"log {__instance}.PostCompAmmoUser_CompEquippable");
26+
//Log.Message($"log {__instance}.PostCompAmmoUser_CompEquippable");
2727
}
2828
}
2929

RW_NodeTree/Patch/CombatExtended/CombatExtended_Verb_LaunchProjectileCE_Patcher.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ private static void PostVerb_LaunchProjectileCE_ShotsPerBurst(Verb __instance, r
2323
if (comp != null)
2424
{
2525
__result = __instance.verbProps.burstShotCount;
26+
//Log.Message($"log {__instance}.ShotsPerBurst = {__result}");
2627
}
2728
}
2829

0 commit comments

Comments
 (0)