Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Setting the dorm spritemap for the selected option of the costume |
Undo revision 33029 by Messing with data (talk) |
||
Line 22: | Line 22: | ||
var chibiCostumeName = ""; | var chibiCostumeName = ""; | ||
if (costumeSelectionIndex != 0) { | if (costumeSelectionIndex != 0) { | ||
chibiCostumeName = "_costume" + costumeSelectionIndex | chibiCostumeName = "_costume" + costumeSelectionIndex | ||
} | } | ||
selectBox.closest('.costumeContainer').find('.chibiAnimation,.live2dAnimation,.artTab').trigger("costume_changed", chibiCostumeName); | selectBox.closest('.costumeContainer').find('.chibiAnimation,.live2dAnimation,.artTab').trigger("costume_changed", chibiCostumeName); |