mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-18 13:37:44 +01:00
Maybe fix visor state issue.
This commit is contained in:
parent
3d421881f6
commit
8375abd6cb
4 changed files with 11 additions and 4 deletions
|
|
@ -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}).");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue