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.72k stars 400 forks source link

AI and the extended crew thing in the crew wheel #3844

Closed fire-bot closed 3 years ago

fire-bot commented 3 years ago

Sent by WordPress (issue@barotraumagame.com). Created by fire.


From: Malice

Description Game crashes when attempting to expand crew wheel when at or over 30 crew members, done in singleplayer campaign. (btw love the game)

Steps To Reproduce Get 30-31 crew members, attempt to expand the crew list, it then crashes. Tested twice to confirm on singleplayer.

Version Latest version for steam release

Operating System Windows

--

This issue was sent from a contact form on https://barotraumagame.com/bug

Regalis11 commented 3 years ago

Fixed in https://github.com/Regalis11/Barotrauma-development/commit/b78cf9d6d855141440eacb47d0a62ff83bd1b6af (if there are more than 20 characters in the crew, any additional ones won't be shown in the interface). Also capped the number of bots you can hire to 16 in https://github.com/Regalis11/Barotrauma-development/commit/f7bd90b99e7f8c9edbf3bf9847a9b7fa2e915ec1

Rokvach commented 3 years ago
Regalis11 commented 3 years ago

Fixed in https://github.com/Regalis11/Barotrauma-development/commit/70a412c91a1a5eae3085fd86cde98822e37b2c90

Rokvach commented 3 years ago

Tested, working correctly. Closing.