mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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
|
# Execute remotely
|
||||||
if serverNum is not None:
|
if serverNum is not None:
|
||||||
self.serverList[serverNum].sendCommandString(commandString)
|
self.serverList[serverNum].sendCommandString(commandString)
|
||||||
for server in self.serverList:
|
else:
|
||||||
server.sendCommandString(commandString)
|
for server in self.serverList:
|
||||||
|
server.sendCommandString(commandString)
|
||||||
if fLocally:
|
if fLocally:
|
||||||
# Execute locally
|
# Execute locally
|
||||||
exec( commandString, __builtins__ )
|
exec( commandString, __builtins__ )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user