Add custom Don
- Registered users can customise the colour of their Don and it will appear for other players - Bug fixes: - Add lyrics checkbox to admin page - 2P shows above "creative" or "with lyrics" labels - Prevent accidental alt and menu keyboard presses from triggering browser menus - Fixed mouse hitboxes on difficulty selection - Clean cached sounds and lyrics when another song is loading - Fixed debug jumping to the top-left of the screen when hidden - Fixed server volume not being applied to songs
This commit is contained in:
@@ -131,6 +131,7 @@ class P2Connection{
|
||||
this.hashLock = false
|
||||
}
|
||||
this.name = null
|
||||
this.don = null
|
||||
scoreStorage.clearP2()
|
||||
break
|
||||
case "gameresults":
|
||||
@@ -165,7 +166,8 @@ class P2Connection{
|
||||
}
|
||||
break
|
||||
case "name":
|
||||
this.name = response.value ? response.value.toString() : response.value
|
||||
this.name = response.value ? (response.value.name || "").toString() : ""
|
||||
this.don = response.value ? (response.value.don) : null
|
||||
break
|
||||
case "getcrowns":
|
||||
if(response.value){
|
||||
|
||||
Reference in New Issue
Block a user