Skip to content

Commit

Permalink
remove assert, not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcan-dev committed Oct 19, 2024
1 parent 21e00ce commit e90ed96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions KISSMultiplayer/lua/ge/extensions/network.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ time_offset_smoother.get = function(new_sample)
end

local function butesToU32(str)
assert(#str == 4, "Input string must be exactly 4 bytes long")

local b1, b2, b3, b4 = str:byte(1, 4)
return bit.bor(
bit.lshift(b4, 24),
Expand Down

0 comments on commit e90ed96

Please sign in to comment.