mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04: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:
1 parent
e409d3792c
commit
f71b4ef031
3 files changed
+36
No files matched your search
@@ -77,6 +77,7 @@ function loadGearset(player, classId)
|
||||
gearset = player:getGearset(classId);
|
||||
|
||||
if gearset == nil then
|
||||
player:getEquipment():ToggleDBWrite(true);
|
||||
return;
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user