Pulled in core game lua file adjustments from SiegeMod.