assignGear fix.

Replaced player with _unit in assignGear files as player is nil when script is run.