diff options
Diffstat (limited to 'tests/manyloc/keineschweine/enet_server')
-rw-r--r-- | tests/manyloc/keineschweine/enet_server/enet_client.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manyloc/keineschweine/enet_server/enet_client.nim b/tests/manyloc/keineschweine/enet_server/enet_client.nim index f4c8732e3..0c903a733 100644 --- a/tests/manyloc/keineschweine/enet_server/enet_client.nim +++ b/tests/manyloc/keineschweine/enet_server/enet_client.nim @@ -145,7 +145,7 @@ proc lobbyInit*() = var pos = vec2f(10, 10) u_alias = gui.newTextEntry( - if s.existsKey("alias"): s["alias"].str else: "alias", + if s.hasKey("alias"): s["alias"].str else: "alias", pos) pos.y += 20 u_passwd = gui.newTextEntry("buzz", pos) |