You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//A dummy read COULD be added to the interface for this situation, but it's just being too nice.
383
383
//This is after all a developer fault. A critical error should be fine.
384
384
// - TwoTen
385
-
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError("Client wrote to NetworkedVar without permission. No more variables can be read. This is critical. "+logInstance!=null?("NetworkId: "+logInstance.networkId+" BehaviourIndex: "+logInstance.networkedObject.GetOrderIndex(logInstance)+" VariableIndex: "+i):string.Empty);
385
+
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError("Client wrote to NetworkedVar without permission. No more variables can be read. This is critical. "+(logInstance!=null?("NetworkId: "+logInstance.networkId+" BehaviourIndex: "+logInstance.networkedObject.GetOrderIndex(logInstance)+" VariableIndex: "+i):string.Empty));
//A dummy read COULD be added to the interface for this situation, but it's just being too nice.
410
410
//This is after all a developer fault. A critical error should be fine.
411
411
// - TwoTen
412
-
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError("Client wrote to NetworkedVar without permission. No more variables can be read. This is critical. "+logInstance!=null?("NetworkId: "+logInstance.networkId+" BehaviourIndex: "+logInstance.networkedObject.GetOrderIndex(logInstance)+" VariableIndex: "+i):string.Empty);
412
+
if(LogHelper.CurrentLogLevel<=LogLevel.Error)LogHelper.LogError("Client wrote to NetworkedVar without permission. No more variables can be read. This is critical. "+(logInstance!=null?("NetworkId: "+logInstance.networkId+" BehaviourIndex: "+logInstance.networkedObject.GetOrderIndex(logInstance)+" VariableIndex: "+i):string.Empty));
0 commit comments