Skip to content

Commit

Permalink
classlib: remove Server.allClientIDs
Browse files Browse the repository at this point in the history
Replace usage with equivalent code
  • Loading branch information
mossheim committed Dec 12, 2017
1 parent 8427ae1 commit 30d613d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SCClassLibrary/Common/Control/Server.sc
Original file line number Diff line number Diff line change
Expand Up @@ -791,13 +791,9 @@ Server {
^Buffer.cachedBufferAt(this, bufnum)
}

// defaultGroups for all clients on this server:

allClientIDs { ^(0..this.maxNumClients-1) }

// keep defaultGroups for all clients on this server:
makeDefaultGroups {
defaultGroups = this.allClientIDs.collect { |clientID|
defaultGroups = this.maxNumClients.collect { |clientID|
Group.basicNew(this, nodeAllocator.numIDs * clientID + 1);
};
defaultGroup = defaultGroups[clientID];
Expand Down

0 comments on commit 30d613d

Please sign in to comment.