Skip to content

Commit

Permalink
Update CServerList.nut
Browse files Browse the repository at this point in the history
this would be way better
  • Loading branch information
DamianQualshy committed Oct 10, 2024
1 parent 0ad4b39 commit 3be607e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Homecoming/Scripts/Client/CServerList.nut
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,16 @@ ServerListMessage.bind(function(message){

function srvListMouseClick(self){
if(self instanceof GUI.GridListVisibleCell){
local _player = Player[heroId];
local joinVirtualServerPacket = ServerListClickMessage(heroId, self.getDataCell().parent.metadata.id,
LocalStorage.getItem("characterName"),
LocalStorage.getItem("bodyModel"),
LocalStorage.getItem("bodyTexture"),
LocalStorage.getItem("headModel"),
LocalStorage.getItem("headTexture"),
LocalStorage.getItem("walkstyle"),
_player.getName(), //LocalStorage.getItem("characterName"),
_player.getVisual().bm, //LocalStorage.getItem("bodyModel"),
_player.getVisual().bt, //LocalStorage.getItem("bodyTexture"),
_player.getVisual().hm, //LocalStorage.getItem("headModel"),
_player.getVisual().ht, //LocalStorage.getItem("headTexture"),
_player.getWalkstyle(), //LocalStorage.getItem("walkstyle"),
/* LocalStorage.getItem("height"), */
LocalStorage.getItem("fatness")
_player.getScale().f //LocalStorage.getItem("fatness")
).serialize();
joinVirtualServerPacket.send(RELIABLE);

Expand Down

0 comments on commit 3be607e

Please sign in to comment.