S5-VR-Game / game

2 stars 0 forks source link

Task description can be shown after the task is finished #121

Closed JonasPTFL closed 8 months ago

JonasPTFL commented 8 months ago

If a game task is finished, while the player touches the collider, the game task does not get dismissed, because the OnTriggerExit method in TaskSpawnPoint.cs checks if the task is currently active. This can be fixed by calling PlayerProfileService.GetHUD().DismissText(); when the task is finished (success or failure).

Aremju commented 8 months ago

This is not a bug, it's a feature