Interkarma / daggerfall-unity

Open source recreation of Daggerfall in the Unity engine
http://www.dfworkshop.net
MIT License
2.7k stars 327 forks source link

Fixed "work question" sticking while moving from "Where Is?" #2598

Closed KABoissonneault closed 6 months ago

KABoissonneault commented 6 months ago

When transitioning from asking about "Where Is? Work" to "Tell Me About", the question at the top of the screen remains about work.

https://github.com/Interkarma/daggerfall-unity/assets/5789925/c38badb1-79e7-4b77-9f92-40d35bdebb7d

The "Where Is?" talk category is preserved when moving to "Tell Me About" so it can be restored when going back to "Where Is?". The problem is that UpdateQuestion only checks the talk category "Work", not if we're actually in the "Where Is?" talk option.

I fixed this to also check the talk option