Fix incorrect number of parameters bug when creating a bone.

This commit is contained in:
Major-
2014-02-20 19:19:13 +00:00
parent 82104d85d0
commit 21f6a1d192
+1 -1
View File
@@ -59,7 +59,7 @@ def append_bone(hash)
raise 'Hash must contain an id and an experience value.' unless hash.has_key?(:id) && hash.has_key?(:experience)
id = hash[:id], experience = hash[:experience]
BONES[id] = Bone.new(name, id, experience)
BONES[id] = Bone.new(id, experience)
end
append_bone :name => :regular_bones, :id => 526, :experience => 5