Jump to content

Bug of fn OverrideItemSkinSymbol


gznc
  • Pending

In moonbase.lua 430:

inst.AnimState:OverrideItemSkinSymbol("swap_staffs", inst._staffinst:GetSkinBuild(), GetStaffSymbol(MORPHED_STAFF), inst._staffinst.GUID, "staffs")

GetSkinBuild may returns nil when the staffinst is not skinned.


Steps to Reproduce
Give a skinned staff then make it. In rare cases, the opalstaff may not be skinned correctly where causes the error.



User Feedback


inst._staffinst is only assigned when a skin_build exists, so this should never happen. Do you have an example how this could occur?

  • Thanks 1

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...