CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.58k stars 4.16k forks source link

Light sources occasionally fail to update tiles from dark to light or vice versa #69887

Closed ajdye closed 8 months ago

ajdye commented 10 months ago

Describe the bug

Occasionally, when opening a closed curtain or turning off a flashlight etc, the tiles will fail to update to either being lit or being dark until another action is taken

Attach save file

Sister Lakes-trimmed.tar.gz

Steps to reproduce

Stand by a window with a curtain and repeatedly open and close the curtains, around 1 in ever 6 times the tiles will fail to update

Expected behavior

Tiles should update immediately

Screenshots

image

Versions and configuration

Additional context

I am using d3d12 as my renderer

CoroNaut commented 10 months ago

I've also noticed this. I usually have an atomic headlamp on and when I turn it off, the light stays for an additional turn. At first I was going to test if it was due to higher than normal speed, but if you have the issue as well, it might just be a bug.

PatrikLundell commented 10 months ago

Lots of things now take an additional turn to update. Turning on vehicle headlights don't take effect until the turn after, aborting/ceasing bow aim retains the restricted view until the next turn (but if you try to move you'll get warned about the enemy you cannot yet see again).

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.