Commit 8908952e authored by Peter Xin's avatar Peter Xin

Fix

parent 03957850
......@@ -89,7 +89,7 @@ module MSETranslator
return ["", words[0]] if words.count <= 1
pendulum_effect = words[0].split(LanguageConstants.current.pendulum_effect_head).last
pendulum_effect = "" if pendulum_effect == nil
return [pendulum_effect, words[1]]
return [pendulum_effect, words[words.length - 1]]
end
def generate_mse(data, key = "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment