Created
September 11, 2013 18:14
-
-
Save mbrenig/6527543 to your computer and use it in GitHub Desktop.
Snippet to force MLHG_HUNT_ON_NA to FALSE on all Taqua BGs. (Not recommended - please SFR).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def cust_specific_process(): | |
for bgline in taqua_glob.bg_line_entries_list: | |
# Try to get mlhg lineinfo objects | |
mlhgs = [] | |
try: | |
bg = bgline.parent_bg | |
mlhgs = bg.lineinfo[si.BG_MLHGS] | |
except: | |
pass | |
for mlhg in mlhgs: | |
mlhg[si.MLHG_HUNT_ON_NA] = si.FALSE | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment