mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +01:00
Why does this not work, stupid Conditional.
This commit is contained in:
parent
9c4f7b7562
commit
10c0117402
1 changed files with 9 additions and 5 deletions
|
|
@ -272,14 +272,18 @@ public unsafe class GameEventManager : IDisposable
|
|||
Penumbra.Log.Information($"Test: {a1:X} {a2}");
|
||||
_testHook!.Original(a1, a2);
|
||||
}
|
||||
#endif
|
||||
[Conditional("DEBUG")]
|
||||
private void EnableDebugHook()
|
||||
=> _testHook?.Enable();
|
||||
|
||||
[Conditional("DEBUG")]
|
||||
private void DisposeDebugHook()
|
||||
=> _testHook?.Dispose();
|
||||
#else
|
||||
private void EnableDebugHook()
|
||||
{ }
|
||||
|
||||
private void DisposeDebugHook()
|
||||
{ }
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue