mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Entity creation performance improvements (#2911)
This commit is contained in:
committed by
GitHub
parent
3941930c2f
commit
832672149b
@@ -123,7 +123,7 @@ namespace Robust.Client.Console
|
||||
|
||||
if (AvailableCommands.ContainsKey(commandName))
|
||||
{
|
||||
#if !DEBUG
|
||||
#if FULL_RELEASE
|
||||
var playerManager = IoCManager.Resolve<IPlayerManager>();
|
||||
if (!_conGroup.CanCommand(commandName) && playerManager.LocalPlayer?.Session.Status > SessionStatus.Connecting)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user