- Home /
Question by
Savra · Jul 15, 2013 at 02:38 PM ·
networkingcomparebuilds
Compare version of game in multiplayer
Hi, i'm just wondering if there is a way to compare builds? My problem is that old builds of the game can join new builds in my multiplayer game. So is there a way to compare builds so that the version has to be the same to be able to join the game?
Thank you! :)
Comment
Answer by AVividLight · Jul 15, 2013 at 02:52 PM
Hey Savra,
You could store the game's build ID as a variable (string/float/int), and send that to the host when the user tries to connect. If the user's build ID doesn't match the host's, you can disconnect them.
Hope this helps - Gibson