mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
style: 2 lines if
This commit is contained in:
parent
eb1654f26e
commit
87e962b52b
@ -58,7 +58,8 @@ public void Write(string value)
|
||||
// (note: original HLAPI would write "" for null strings, but if a string is null on the server then it
|
||||
// should also be null on the client)
|
||||
writer.Write(value != null);
|
||||
if (value != null) writer.Write(value);
|
||||
if (value != null)
|
||||
writer.Write(value);
|
||||
}
|
||||
|
||||
// for byte arrays with consistent size, where the reader knows how many to read
|
||||
|
Loading…
Reference in New Issue
Block a user