cmss13-devs / cmss13

Contains the code for CM-SS13
https://cm-ss13.com
GNU Affero General Public License v3.0
104 stars 571 forks source link

Helmet optic dissapears #7094

Open cm13-issue-bot opened 2 months ago

cm13-issue-bot commented 2 months ago

Testmerges

#6334: 'Xenomorph Endgame' by Git-Nivrak at commit 97b9492b2e
#6071: '[V] Sorokyne Strata: Expanded Small corridors, removed 3000 unused tiles, Xenos can now weed everything except LZ's and surrounding of LZ's, allow LAZ for CAS inside structures with light blue Areas on Tacmap (glass ceiling hallways)' by Venuska1117 at commit 817ed55a47
#6824: 'Human bursting sounds + sprite, new hugging sounds' by Blundir at commit 0545431b86
#6820: 'Updates close backpack icon' by Blundir at commit e6e1e493fa
#6808: 'Attachments resprite' by Blundir at commit cc4fe40905
#7025: 'Fixes giant lizard code breaking when disarmed, and adds some minor features to the mob' by VileBeggar at commit 0fb4b458bf
#6039: 'Project ARES TM Holder (v5)' by realforest2001 at commit fbfe12c534
#5829: '(EVENT) Cortical Borers' by realforest2001 at commit e662a034e2

Round ID

23795

Description of the bug

Helmet MedHUD optic sprite dissapears when the FOURTH slot is filled with an item

What's the difference with what should have happened?

The MedHUD sprite would remain visible as the four slots in the helmet are filled.

How do we reproduce this bug?

Fill the helmet with 3 slots with a Medhud optic is turned on, fill the fourth slot with an item.

Attached logs

N/A

Additional details

Staykeu commented 2 months ago

This also causes your squad designation stripe to stay on your sprite even after your helmet is removed. Something to do with too many sprite modifications on your helmet. I'm not too entirely sure, but I'm compelled to believe you need to have four items in your helmet that have on-helmet sprites plus an activated helmet optic to replicate this bug; if you have at least one item in your helmet that doesn't have an on-helmet sprite (or no item in at least one slot), the bug won't take place.