Maybe fix visor state issue.

This commit is contained in:
Ottermandias 2024-04-04 14:01:58 +02:00
parent 3d421881f6
commit 8375abd6cb
4 changed files with 11 additions and 4 deletions

View file

@ -52,7 +52,7 @@ public class VisorService : IDisposable
var originalOn = on;
// Invoke an event that can change the requested value
// and also control whether the function should be called at all.
Event.Invoke(human, ref on);
Event.Invoke(human, false, ref on);
Glamourer.Log.Excessive(
$"[SetVisorState] Invoked from game on 0x{human:X} switching to {on} (original {originalOn}).");