mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix context menu disabling.
This commit is contained in:
parent
a32d134c45
commit
65b65f572d
1 changed files with 2 additions and 3 deletions
|
|
@ -21,7 +21,6 @@ public class ContextMenuService : IDisposable
|
|||
private readonly StateManager _state;
|
||||
private readonly ObjectManager _objects;
|
||||
private readonly GameGui _gameGui;
|
||||
private readonly Configuration _config;
|
||||
|
||||
public ContextMenuService(ItemManager items, StateManager state, ObjectManager objects, GameGui gameGui, Configuration config)
|
||||
{
|
||||
|
|
@ -29,8 +28,8 @@ public class ContextMenuService : IDisposable
|
|||
_state = state;
|
||||
_objects = objects;
|
||||
_gameGui = gameGui;
|
||||
_config = config;
|
||||
Enable();
|
||||
if (config.EnableGameContextMenu)
|
||||
Enable();
|
||||
}
|
||||
|
||||
public void Enable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue