diff --git a/scripts/smoke_test_world_chat_and_sound.gd b/scripts/smoke_test_world_chat_and_sound.gd index 9885e38..c48149e 100644 --- a/scripts/smoke_test_world_chat_and_sound.gd +++ b/scripts/smoke_test_world_chat_and_sound.gd @@ -135,7 +135,8 @@ func _run() -> void: # 5. Verify world chat API send & retrieve (if backend reachable) var api_client = root.get_node_or_null("ApiClient") if api_client != null: - var reg_res = await api_client.register("chat_u_%d" % int(Time.get_unix_time_from_system()), "testpass123", "chat_%d@test.com" % int(Time.get_unix_time_from_system()), true) + var ts := int(Time.get_unix_time_from_system()) + var reg_res = await api_client.register("chat_u_%d" % ts, "chat_%d@test.com" % ts, "testpass123", true) if reg_res.ok: var world_res = await api_client.create_world("ChatTestWorld_%d" % int(Time.get_unix_time_from_system()), "Chat test world") if world_res.ok and world_res.data is Dictionary: