Adding a weapon to the player ship via a script passes a "purchase" context through to the "allowAwardEquipment" condition script call, even when the weapon is added via script. This code change enforces the "scripted" context when a weapon change is made by script.
Adding a weapon to the player ship via a script passes a "purchase" context through to the "allowAwardEquipment" condition script call, even when the weapon is added via script. This code change enforces the "scripted" context when a weapon change is made by script.