New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a crash in PlaceBuilding.cs #14561

merged 1 commit into from Dec 22, 2017


None yet
3 participants

abcdefg30 commented Dec 21, 2017

Fixes a possible regression from the order rework:

Exception of type `System.NullReferenceException`: Object reference not set to an instance of an object. (Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.)
   at OpenRA.Mods.Common.Traits.PlaceBuilding.<>c__DisplayClass6.<OpenRA.Traits.IResolveOrder.ResolveOrder>b__3(World w) in \OpenRA\OpenRA.Mods.Common\Traits\Player\PlaceBuilding.cs:Line 61.
   at OpenRA.World.Tick() in \OpenRA\OpenRA.Game\World.cs:Line 360.
   at OpenRA.Game.InnerLogicTick(OrderManager orderManager) in \OpenRA\OpenRA.Game\Game.cs:Line 611.
   at OpenRA.Game.LogicTick() in \OpenRA\OpenRA.Game\Game.cs:Line 635.
   at OpenRA.Game.Loop() in \OpenRA\OpenRA.Game\Game.cs:Line 765.
   at OpenRA.Game.Run() in \OpenRA\OpenRA.Game\Game.cs:Line 805.
   at OpenRA.Game.InitializeAndRun(String[] args) in \OpenRA\OpenRA.Game\Game.cs:Line 253.
   at OpenRA.Program.Main(String[] args) in \OpenRA\OpenRA.Game\Support\Program.cs:Line 37.

@reaperrr reaperrr added this to the Next release milestone Dec 22, 2017


pchote approved these changes Dec 22, 2017

@pchote pchote merged commit 3af3299 into OpenRA:bleed Dec 22, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment