Lighting optimization (caching shadow vertices & only checking hulls in range if the position or range of the light changes), ragdoll optimization, itemcomponent optimization, dragging stunned/dead characters
This commit is contained in:
@@ -141,7 +141,7 @@ namespace Subsurface
|
||||
public static void ExecuteCommand(string command, GameMain game)
|
||||
{
|
||||
#if !DEBUG
|
||||
if (Game1.Client!=null)
|
||||
if (GameMain.Client!=null)
|
||||
{
|
||||
ThrowError("Console commands are disabled in multiplayer mode");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user