Skip to content

Commit

Permalink
Fix mount string not trimmed when adding custom music
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharparam committed Aug 19, 2024
1 parent 2e1d639 commit 1759e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chocobo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function C:AddCustomMusic(song, mount)
if song then
song = CLib:Trim(tostring(song))
end
mount = mount:lower()
mount = CLib:Trim(mount:lower())
if song == "" or type(song) ~= "string" then
song = nil
--self:ErrorMsg((L["AddCustomInvalidSong"]):format(tostring(song)))
Expand Down

0 comments on commit 1759e8a

Please sign in to comment.