mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Update osu.Game/Rulesets/Mods/ModExtensions.cs
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
b658b0e346
commit
270e2a6600
@ -21,7 +21,6 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
{
|
{
|
||||||
User = new APIUser
|
User = new APIUser
|
||||||
{
|
{
|
||||||
// TODO: Some fields weren't copied from replayData.User (namely IsBot and Id). Should ModCreatedUser inherit from APIUser so we could pass it verbatim to avoid future mistakes ?
|
|
||||||
Id = replayData.User.OnlineID,
|
Id = replayData.User.OnlineID,
|
||||||
Username = replayData.User.Username,
|
Username = replayData.User.Username,
|
||||||
IsBot = replayData.User.IsBot,
|
IsBot = replayData.User.IsBot,
|
||||||
|
Loading…
Reference in New Issue
Block a user