FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.77k stars 409 forks source link

Outposts with no events cause crash during campaign #4020

Closed hubismal closed 4 years ago

hubismal commented 4 years ago

[Modding, Crash] crashreport (119).log crashreport (120).log crashreport (121).log Unsure what i'm doing wrong. The outpost type generates fine in the level editor so it's probably not level generation. If you want to reproduce this yourself just download Thalassophobia on the workshop, start a campaign and use campaign teleport to teleport to a "classified site" (with a radioactive symbol).

Regalis11 commented 4 years ago

This seemed to happen when there were no event sets configured for a specific location type (in this case the classified site). Should be fixed in https://github.com/Regalis11/Barotrauma-development/commit/c50d3ce54e86e6556161016c6d0aae450df35441

Rokvach commented 4 years ago

Tested by using the steps provided above, didn't encounter any crashes. Works correctly. Closing.