From 7cc42031fd61913d8870f330dc423fc44ad2de1a Mon Sep 17 00:00:00 2001 From: MrJay <68926993+MrJCraft@users.noreply.github.com> Date: Wed, 21 Jan 2026 19:53:47 -0600 Subject: [PATCH] fixed local_ident from not being set, this works when I tested it --- samples/shooter_tutorial/tut_net.lobster | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/shooter_tutorial/tut_net.lobster b/samples/shooter_tutorial/tut_net.lobster index 33818917f..bc9ea065c 100644 --- a/samples/shooter_tutorial/tut_net.lobster +++ b/samples/shooter_tutorial/tut_net.lobster @@ -150,7 +150,7 @@ def renderpointytriangle(pos, dir): gl.translate pos: gl.rotate_z dir: gl.polygon([ float2 { -0.5, 0.5 }, float2_x, float2 { -0.5, -0.5 } ]) - +local_ident = steam.net_identity() while gl.frame(): // Update networking steam.update() @@ -461,4 +461,4 @@ while gl.frame(): if peers.length and outgoing.length: if steam.p2p_broadcast_message(lobster_value_to_binary(outgoing), true): // Only clear the outgoing messages if they were sent successfully. - outgoing = [] \ No newline at end of file + outgoing = []