mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-09 09:17:26 +08:00
[Bug fix][Enhance] Link Play Unlock Bug
- For Arcaea 6.12.0 - Support for "is_allow_marketing_email" - Support for config "LOG_FOLDER_PATH" (Thanks to PR #234) - Fix a bug about one song unlock bug in Link Play, due to wrong length of song unlock bytes.
This commit is contained in:
@@ -133,7 +133,8 @@ class CommandParser:
|
||||
|
||||
def command_07(self):
|
||||
self.s.random_code = self.command[16:24]
|
||||
self.room.players[self.player_index].song_unlock = self.command[24:536]
|
||||
self.room.players[self.player_index].song_unlock = self.command[24:24 +
|
||||
Config.LINK_PLAY_UNLOCK_LENGTH]
|
||||
self.room.update_song_unlock()
|
||||
|
||||
self.room.command_queue.append(self.s.command_14())
|
||||
|
||||
Reference in New Issue
Block a user