ludic.shop, ludic.net: nothing made per tick - the week's lists and dice reused, the net's facts from a ring, the room's watch address made once, pools and kept lists through kept_push; what runs once per host, join, room or guest says so in @alloc_ok
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f5834f8f63
commit
4b533b5ff6
18 changed files with 86 additions and 23 deletions
|
|
@ -30,6 +30,7 @@ function net__relay_hello(net_st: NetState) -> void {
|
|||
NetSocket.send(net_st.net__sock, net_st.net__relay_ip, net_st.net__relay_port, b, 10)
|
||||
}
|
||||
|
||||
@alloc_ok("once, when the room falls back to the relay")
|
||||
function net__use_relay(net_st: mut NetState) -> void {
|
||||
net_st.net__via_relay = true
|
||||
net__log(`room {net_st.net__room}: no answer directly, through the relay`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue