mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: fixing warning message for client attribute (#2144)
This commit is contained in:
parent
d46469a79c
commit
ddc6139725
@ -68,7 +68,7 @@ static void InjectClientGuard(TypeDefinition td, MethodDefinition md, bool logWa
|
||||
worker.InsertBefore(top, worker.Create(OpCodes.Brtrue, top));
|
||||
if (logWarning)
|
||||
{
|
||||
worker.InsertBefore(top, worker.Create(OpCodes.Ldstr, "[Client] function '{md.FullName}' called when client was not active"));
|
||||
worker.InsertBefore(top, worker.Create(OpCodes.Ldstr, $"[Client] function '{md.FullName}' called when client was not active"));
|
||||
worker.InsertBefore(top, worker.Create(OpCodes.Call, WeaverTypes.logWarningReference));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user