summaryrefslogtreecommitdiff
path: root/drivers/unix/dir_access_unix.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-01-15 11:14:51 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-01-15 11:14:51 +0100
commit60d235622d13b8126001e61da096ca48244c2733 (patch)
tree7f013580e878bee1ce0d1da2c34611e0bc5c3fe6 /drivers/unix/dir_access_unix.cpp
parent1f7846abf8e2c3ec132426ef4d9c785297614244 (diff)
Don't reset MultiplayerAPI when setting same peer.
A GDScript call to: `multiplayer.network_peer.some_prop = true` seems to transalte to: ``` var temp = multiplayer.network_peer temp.some_prop = true multiplayer.network_peer = temp ``` Which caused the MultiplayerAPI to be resetted. The call to set_network_peer is now ignored if the peer that's beeing set is the same as the currently set one.
Diffstat (limited to 'drivers/unix/dir_access_unix.cpp')
0 files changed, 0 insertions, 0 deletions