mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 04:16:46 +00:00
[Door Manipulation] Resolve some typos and add a GM check. (#1550)
* [Door Manipulation] Resolve some typos and add a status check. * Remove Status check and use GetGM() inside devtools check instead.
This commit is contained in:
+1
-1
@@ -9191,7 +9191,7 @@ void Client::SetDisplayMobInfoWindow(bool display_mob_info_window)
|
||||
|
||||
bool Client::IsDevToolsEnabled() const
|
||||
{
|
||||
return dev_tools_enabled && RuleB(World, EnableDevTools);
|
||||
return dev_tools_enabled && GetGM() && RuleB(World, EnableDevTools);
|
||||
}
|
||||
|
||||
void Client::SetDevToolsEnabled(bool in_dev_tools_enabled)
|
||||
|
||||
Reference in New Issue
Block a user