Fixed weapons spawning (taken from the old version)