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:
@@ -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