mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fix sending of command to just one server
This commit is contained in:
parent
acd1e382dd
commit
e21f1eae8b
@ -117,8 +117,9 @@ class ClusterClient(DirectObject.DirectObject):
|
||||
# Execute remotely
|
||||
if serverNum is not None:
|
||||
self.serverList[serverNum].sendCommandString(commandString)
|
||||
for server in self.serverList:
|
||||
server.sendCommandString(commandString)
|
||||
else:
|
||||
for server in self.serverList:
|
||||
server.sendCommandString(commandString)
|
||||
if fLocally:
|
||||
# Execute locally
|
||||
exec( commandString, __builtins__ )
|
||||
|
Loading…
x
Reference in New Issue
Block a user