space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.13k stars 2.81k forks source link

Removing PermanentBlindnessComponent doesnt actually remove the blindness #27499

Open lzk228 opened 2 months ago

lzk228 commented 2 months ago

https://github.com/space-wizards/space-station-14/assets/124214523/f510d134-231b-4f99-b581-5845e0c2ee67

slarticodefast commented 2 months ago

If you compare DrunkSystem.cs and PermanentBlindnessSystem.cs, you see that the latter does not subscribe to OnPlayerAttached and OnPlayerDetached. Maybe that is the reason?