Skip to content

Commit

Permalink
Groups should be able to have share set
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Sep 22, 2011
1 parent 3290226 commit 83ac5b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Rockmeter.py
Expand Up @@ -1048,6 +1048,9 @@ def createCircle(self, section, number):

def createGroup(self, section, number):
group = Group(self, section)

group.shared = self.get("shared", bool, False)

self.loadLayerFX(group, section)

self.addGroup(group, number, group.shared)
Expand Down Expand Up @@ -1107,7 +1110,7 @@ def updateVars(self, p):
score = scene.scoring[playerNum].score
stars = scene.scoring[playerNum].stars
partialStars = scene.scoring[playerNum].starRatio
rock = scene.rock[playerNum]
rock = scene.rock[playerNum] / scene.rockMax

streak = scene.scoring[playerNum].streak
power = player.starPower/100.0
Expand Down

0 comments on commit 83ac5b9

Please sign in to comment.