Added thread safe packet handlers

This commit is contained in:
2024-02-28 13:23:17 +01:00
parent cb4dd41358
commit db3ee3a685
11 changed files with 37 additions and 16 deletions

View File

@ -9,7 +9,6 @@ var history: Array[float] = []
func _init():
history.resize(HISTORY_SIZE)
thread_safe = true
func handle_packet(data: PackedByteArray):
var id := data[0]