diff options
| author | Rémi Verschelde | 2017-11-17 15:25:22 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-11-17 20:55:09 +0100 |
| commit | 73049d115e190b8c356f0689a9079c3c73cc5765 (patch) | |
| tree | 921a1935f6d841988071b930fbfea498bf872a3e /modules/enet/networked_multiplayer_enet.cpp | |
| parent | ebbe2bd57235fcbd2edb82c05bb9d7d768b3e7ca (diff) | |
| download | godot-73049d115e190b8c356f0689a9079c3c73cc5765.tar.gz godot-73049d115e190b8c356f0689a9079c3c73cc5765.tar.zst godot-73049d115e190b8c356f0689a9079c3c73cc5765.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 ); |
