Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/shooter_tutorial/tut_net.lobster
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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 = []
outgoing = []