Skip to content

Commit 99beebe

Browse files
committed
Fixed verson check.
1 parent 5345c0b commit 99beebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/voxelate/networking/server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function Router:__ctor(voxelate)
164164
local serverModuleVersion = self.voxelate.module.VERSION
165165
local clientModuleVersion = net.ReadString()
166166

167-
if not assertCompatibility(ply,serverModuleVersion,clientModuleVersion,"gm_voxelate module version mismatch [SV (%s) != CL (%s) (%s)]") then
167+
if not assertCompatibility(serverModuleVersion,clientModuleVersion) then
168168
self.voxelate.io:Print("Client %s [%s] failed module version check (SV %s / CL %s)",ply:Nick(),ply:SteamID(),serverModuleVersion,clientModuleVersion)
169169
ply:Kick(string.format("Failed Voxelate version check. Server has V%s. You have V%s. Visit the Voxelate Github page for more information on version compatability.",serverModuleVersion,clientModuleVersion))
170170

0 commit comments

Comments
 (0)