Skip to content

Commit 8e3b578

Browse files
committedOct 20, 2014
Fixes db0#486
1 parent 950926c commit 8e3b578

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎o8g/Scripts/autoscripts.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -1734,8 +1734,12 @@ def ModifyStatus(Autoscript, announceText, card, targetCards = None, notificatio
17341734
if targetCard.Type == 'Agenda':
17351735
targetCard.markers[mdict['Scored']] += 1
17361736
targetPL.counters['Agenda Points'].value += num(fetchProperty(targetCard,'Stat'))
1737-
if targetPL.getGlobalVariable('ds') == 'corp': autoscriptOtherPlayers('AgendaScored',card)
1738-
else: autoscriptOtherPlayers('AgendaLiberated',card)
1737+
if targetPL.getGlobalVariable('ds') == 'corp':
1738+
autoscriptOtherPlayers('AgendaScored',card)
1739+
clearCurrents('SCORE',card)
1740+
else:
1741+
autoscriptOtherPlayers('AgendaLiberated',card)
1742+
clearCurrents('LIBERATE',card)
17391743
debugNotify("Current card group before scoring = {}".format(targetCard.group.name))
17401744
grabCardControl(targetCard,targetPL)
17411745
# We do not autoscript other players (see http://boardgamegeek.com/thread/914076/personal-evolution-and-notoriety)

0 commit comments

Comments
 (0)
Please sign in to comment.