diff --git a/docs/config/events.md b/docs/config/events.md index f9ff136..ce7bfb7 100644 --- a/docs/config/events.md +++ b/docs/config/events.md @@ -44,7 +44,7 @@ At this time Zap does not support two way events. As events have almost no overh This field determines the type of event. It can be either `Reliable` or `Unreliable`. - Reliable events are guaranteed to arrive at their destination in the order they were sent. -- Unreliable events are not guaranteed to arrive at their destination, and they are not guaranteed to arrive in the order they were sent. Unreliable events also have a maximum size of 900 bytes. +- Unreliable events are not guaranteed to arrive at their destination, and they are not guaranteed to arrive in the order they were sent. Unreliable events also have a maximum size of 1000 bytes. ### `call` diff --git a/zap/src/parser/convert.rs b/zap/src/parser/convert.rs index 4d18c6c..01182ff 100644 --- a/zap/src/parser/convert.rs +++ b/zap/src/parser/convert.rs @@ -10,7 +10,7 @@ use super::{ }; // We subtract two for the `inst` array. -pub const MAX_UNRELIABLE_SIZE: usize = 898; +pub const MAX_UNRELIABLE_SIZE: usize = 998; struct Converter<'src> { config: SyntaxConfig<'src>,