Причесывание кода
This commit is contained in:
1 parent
14c74c5775
commit
05ee651e89
11 files changed
+56
-32
No files matched your search
@@ -45,7 +45,9 @@ namespace mROA.Implementation.Frontend
|
||||
throw new Exception($"Incorrect message type. Must be IdAssigning, current : {welcomeMessage.SchemaId.ToString()}");
|
||||
}
|
||||
|
||||
TransmissionConfig.OwnershipRepository = new StaticOwnershipRepository(_serialization.Deserialize<IdAssingnment>(welcomeMessage.Data)!.Id);
|
||||
|
||||
var assignment = _serialization.Deserialize<IdAssingnment>(welcomeMessage.Data)!;
|
||||
TransmissionConfig.OwnershipRepository = new StaticOwnershipRepository(assignment.Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user