Merge pull request #82 from earthiverse/version

Add `version` to welcome socket data
This commit is contained in:
Kaan Soral
2023-12-11 17:48:52 +03:00
committed by GitHub
+1
View File
@@ -4162,6 +4162,7 @@ function init_io() {
pvp: is_pvp,
gameplay: gameplay,
info: (instances[socket.first_map] && instances[socket.first_map].info) || {},
version: G.version,
};
socket.first_map = socket.first_in = observer_map;
socket.first_x = observer_x;