Fixed issue where updating weapons would cause a crash.