Skip to content

Commit 7531c81

Browse files
committed
Merge branch 'development' into pre611-minor-fixes
2 parents c58e33b + 7f10f42 commit 7531c81

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010

1111
- Massacre now displays the remaining kill count to each player's screen instead of just the first one.
1212

13+
- Slightly nerfed the Imperatus combat robot jetpack.
14+
1315
</details>
1416

1517
<details><summary><b>Fixed</b></summary>
@@ -28,6 +30,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2830

2931
- Fixed an issue where sometimes doors were owned by the wrong team in Bunker Breach and Survival activities.
3032

33+
- Fixed an issue where a mission-only item was being bought by the AI.
34+
3135
</details>
3236

3337
## [Release v6.1.0] - 2024/02/15

Data/Base.rte/Scenes/Objects/Bunkers/BunkerSystems/Automovers/Controller/Controller.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,13 @@ automoverActorFunctions.addActorToAutomoverTable = function(self, actor)
910910
waypointData = nil,
911911
};
912912

913+
if not actor:NumberValueExists("Automover_OldMoveProximityLimit") then
914+
actor:SetNumberValue("Automover_OldMoveProximityLimit", actor.MoveProximityLimit);
915+
end
916+
917+
-- Make move proximity much lower so we don't get caught on corners
918+
actor.MoveProximityLimit = 2;
919+
913920
self.affectedActorsCount = self.affectedActorsCount + 1;
914921

915922
actor.PieMenu:AddPieSliceIfPresetNameIsUnique(self.leaveAutomoverNetworkPieSlice, self);
@@ -924,6 +931,11 @@ automoverActorFunctions.removeActorFromAutomoverTable = function(self, actor, op
924931
end
925932

926933
if MovableMan:ValidMO(actor) then
934+
if actor:NumberValueExists("Automover_OldMoveProximityLimit") then
935+
actor.MoveProximityLimit = actor:GetNumberValue("Automover_OldMoveProximityLimit");
936+
actor:RemoveNumberValue("Automover_OldMoveProximityLimit");
937+
end
938+
927939
actor.PieMenu:RemovePieSlicesByPresetName(self.leaveAutomoverNetworkPieSlice.PresetName);
928940
actor.PieMenu:RemovePieSlicesByPresetName(self.chooseTeleporterPieSlice.PresetName);
929941

Data/Techion.rte/Devices/Weapons/Nucleo/NucleoShot.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ function OnMessage(self, message, context)
4343
self.detDelay = 4000/math.sqrt(math.max(1, #self.connectableParticles));
4444
self.Vel = Vector(self.Vel.X, self.Vel.Y):DegRotate(#self.connectableParticles * RangeRand(-1, 1));
4545
for k, particle in pairs(self.connectableParticles) do
46-
particle:SendMessage("Nucleo_NewConnectableParticle", self);
46+
particle:SendMessage("Nucleo_NewConnectableParticle", self.UniqueID);
4747
end
4848
elseif message == "Nucleo_NewConnectableParticle" then
49-
table.insert(self.connectableParticles, context);
49+
table.insert(self.connectableParticles, MovableMan:FindObjectByUniqueID(context));
5050
elseif message == "Nucleo_Explode" then
5151
Explode(self);
5252
end

Source/Entities/MovableObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ int MovableObject::ReadProperty(const std::string_view& propName, Reader& reader
347347
MatchProperty("RandomizeEffectRotAngle", { reader >> m_RandomizeEffectRotAngle; });
348348
MatchProperty("RandomizeEffectRotAngleEveryFrame", { reader >> m_RandomizeEffectRotAngleEveryFrame; });
349349
MatchProperty("EffectStopTime", {
350-
reader >> m_EffectStopTime;
350+
reader >> m_EffectStopTime;
351351
m_EffectStopTime = std::max(m_EffectStopTime, static_cast<int>(g_TimerMan.GetDeltaTimeMS()) + 1);
352352
});
353353
MatchProperty("EffectStartStrength", {

0 commit comments

Comments
 (0)