assignGear fix.

Replaced player with _unit in assignGear files as player is nil when script is run.

Note: All other pull requests besides the very last are ghosts.