- Constructor now sets username
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-18 13:54:07 +02:00
parent dac50c74c6
commit 6e2e680b44
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ public struct User
this(string username)
{
this.lock = new Mutex();
setUsername(username);
}
// TODO: Disallow parameter less construction?