From bc904641d4a432fc99d20f0ed7317509ad0ec40d Mon Sep 17 00:00:00 2001 From: mszabo Date: Thu, 24 Oct 2024 00:59:59 +0200 Subject: [PATCH] Fix initially dormant mech ammo beacons 65ff9683efa00fa36d68ec6e11e523c44ff3d998 mistakenly turned off mech ammo beacons for clusters that start off dormant. Fix the logic so that beacons in such clusters correctly drop ammo once the cluster is awake and other conditions are met. --- Assemblies/CombatExtendedLoader.dll | Bin 7168 -> 7168 bytes .../Comps/CompAmmoResupplyOnWakeup.cs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Assemblies/CombatExtendedLoader.dll b/Assemblies/CombatExtendedLoader.dll index 225ee260879b2ecde093783ebb3c843b425053f3..aa8fd3d3cc8e101605ee1c7c04fe160c9d38c247 100644 GIT binary patch delta 1064 zcmYjPTWl0%7(M^Y?9Q@a>1_AXi^`T=VO`pFwlmY&q9rjLecB1^X##}z zPR#a3B<1)l)dJ8YIky&w%Ey|C$23AUMu=`&7elVar*R(=1ef|lxg@PF=~_R-DVp8C zUTccsUXtBAs;zV^yX$;e8_oE=undH2?X=w~dXw=~Jl8>%e*%IHCA6Yz8#oxy?tV)} z9xZwlC&*b)bN~3il$Vw38}fx(i1q56L&-lX<@iw1d^lflUzFH!z0a8F{Um4mUt{CU z+rU-c5hi8EX59S;_tpGP%Msu%%V&0t;p%FDgCH}wYiJwq74oBAw=yWC#$m-06OKso zJ?$rU6Gzh2;Jwy6a+cnefL+4x$~ecp9k2yllBR`(ISvObwBD6{_EEt6yfBrg12%^! ze75L46rMVs#RnKw^7s)?D+R2N$kKPF@tl&P56swAWG4bND;T9NPGrch+{!?H*o?r7K-q3eqjE)=*4z#NX;}~ z1XsW#5W>0j8$R^jQa3ivtN*Cxl6`7+X~*{i^CvfdH6A+94kax_L{3A5XlR;Gn*!5{ zs3M^ai`Wa^^4h(PEzRvh@Q-6_``@1kZ5nr3fL(b65O*RE71%VycMCrW0qSMM`) z%P=iRFIkg@W%H90LDvVs|8VY~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