mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-21 21:28:52 +00:00
Corrected release2 script to actually release mounts
This commit is contained in:
parent
a5a7d22ce4
commit
3224cf6004
2 changed files with 6785 additions and 6801 deletions
13584
dist/habitrpg-shared.js
vendored
13584
dist/habitrpg-shared.js
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -755,7 +755,7 @@ api.wrap = (user, main=true) ->
|
|||
user.items.currentMount = ""
|
||||
user.items.currentPet = ""
|
||||
for pet of content.pets
|
||||
user.items.mounts[pet] = false
|
||||
delete user.items.mounts[pet]
|
||||
user.items.pets[pet] = 0
|
||||
if not user.achievements.beastMasterCount
|
||||
user.achievements.beastMasterCount = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue