mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 06:24:38 +02:00
Fixed bug where DB writing for equipment would be toggled off if gearset was nil for some reason. Added in a property change to get the bottom class icon to refresh showing the new class.
This commit is contained in:
parent
e409d3792c
commit
f71b4ef031
3 changed files with 36 additions and 0 deletions
|
@ -77,6 +77,7 @@ function loadGearset(player, classId)
|
|||
gearset = player:getGearset(classId);
|
||||
|
||||
if gearset == nil then
|
||||
player:getEquipment():ToggleDBWrite(true);
|
||||
return;
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue