From 48e686365ad74e06b31ec314a8a706a9d6dcba1f Mon Sep 17 00:00:00 2001 From: Elliot Thomas Date: Tue, 28 Mar 2023 21:49:39 +0100 Subject: [PATCH] Check for subcore eject to save tick time --- Assemblies/SubcoreInfo.dll | Bin 11776 -> 11776 bytes .../Harmony_Building_SubcoreScanner.cs | 3 +++ 2 files changed, 3 insertions(+) diff --git a/Assemblies/SubcoreInfo.dll b/Assemblies/SubcoreInfo.dll index e27fa6d0821710d66f5dd26192d7ea35be926d84..8bdb18c0a02f10303e5e61519951b7b7a58d3f6e 100644 GIT binary patch delta 1401 zcmY+ET}&KR6vzMP%-7EBN7)5;!6LFDt0Q1IAFae z=WEbcBpqPCdzm^ptz{`r_Fku`R`>8C>a8Hh$==gA z*&7rmdt;vGMXizd(Mf9NPTFR)O7@yh@e%$?#&L>S&+w~U%P;V+auGVB2;ht!gBt-Q zCV!o+l3VexWCRH%8ABDGkn*6zJq{Bx5km`}mTY%M4m#|{Q91H5#w7c2PD$Vx{+6^P zyPdc@7avDfxr|{%>DwE|tEhYla>M}EpnPmRqX2iKfO-Kw3H*02a36eN5df#iel$X3u&*z?V z?tQuMz7F*a^&C5*x@SAS%Z%6Z^|s81d+7r~6w$`pfLamcX3tl`@tKgtn!&+mGT70Pl#D znUt-QW~q`q$bMv9qg;s}Tw{_6bBuK~@VMkxsvXD39^a)OlN>W93v9vbcw5GV_e9Q} zB#+oo+LWGV1wBEz4g~tGPo$kH*nsr~YglwFgOq-j4g7U8caB|9*WKv5z$U^48?ffM z1f7m$Fs1*>rBFlp$}rBd2h9cRxBf_T8J@qX%Uq5{$Lz*`*o%p9zOh|4`Y_|z*Z3AX z{8%j5NqFRzBSyl6k9IFl_5|>_*?dqRO-%18Yi03Z*->8ae4=!LI5tuD}EG zD99z8NdtJ;vHYX~4CHgp@&Syjshn^uQ}vrM%>f)Q&bcw==pk58vcGub37p4gbSq!R z8CtM%Fy+Bq!ZpljE0VA1tN5M|iU8GZK+RfgQ9CdR>Tc!lr zdp%5XUF96^u{@k0druQ&Z%~5ljd_f7+TFaJ#;KLNX`OMOWS`l^`}nks6BM;l{0ztW zL7tZnp(6qxCiN&vU@1}gcKnhxh)agBMM+1o9-UG)I^5zgDHBn2;C{(H&d5U!d-1d! z*^ddye!Qh5@f?;UEy-Rd?k&WJu&m7BC~DM8k|$J!j-o{iNlt4?$vgB*WcT7Owtp0d zA%{taLk>4%2m0_a&f@}FXfHiZ3*_S<52AtwMYS(fet@sor$l~cDi-QO9ir3MN(aP? zzL@nIrST^X<3GxNk6-K%6glZD092 internal static void Postfix(Building_SubcoreScanner __instance, Name __state) { + bool ejected = __instance.GetComp().Ejected; + if (!ejected) { return; } + CompSubcoreInfo comp = TryGetSubcoreComp(__instance); if (comp == null) { return; }