diff options
| author | Rémi Verschelde | 2017-11-20 00:42:51 +0100 |
|---|---|---|
| committer | GitHub | 2017-11-20 00:42:51 +0100 |
| commit | ecf80fbbbadaa782cbe81a6562916331c6762970 (patch) | |
| tree | 7a949f6a95f36303a2f2d193aeabd6486e13f4a1 /modules/enet/networked_multiplayer_enet.cpp | |
| parent | bc26a5bd3a51b11bab63112275e7045c63a0ffc4 (diff) | |
| parent | 6e3f2f44af808e9f4255c2462e16beee844c0df7 (diff) | |
| download | godot-ecf80fbbbadaa782cbe81a6562916331c6762970.tar.gz godot-ecf80fbbbadaa782cbe81a6562916331c6762970.tar.zst godot-ecf80fbbbadaa782cbe81a6562916331c6762970.zip | |
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.cpp')
| -rw-r--r-- | modules/enet/networked_multiplayer_enet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/enet/networked_multiplayer_enet.cpp b/modules/enet/networked_multiplayer_enet.cpp index c50886ad3..1e18ec0d1 100644 --- a/modules/enet/networked_multiplayer_enet.cpp +++ b/modules/enet/networked_multiplayer_enet.cpp @@ -505,7 +505,7 @@ uint32_t NetworkedMultiplayerENet::_gen_unique_id() const { hash = hash_djb2_one_32( (uint32_t)OS::get_singleton()->get_unix_time(), hash); hash = hash_djb2_one_32( - (uint32_t)OS::get_singleton()->get_data_dir().hash64(), hash); + (uint32_t)OS::get_singleton()->get_user_data_dir().hash64(), hash); /* hash = hash_djb2_one_32( (uint32_t)OS::get_singleton()->get_unique_id().hash64(), hash ); |
