1
0
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:
Nabile Rahmani 2023-08-29 23:59:08 +02:00 committed by GitHub
parent b658b0e346
commit 270e2a6600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,