Make steamids consistent

This commit is contained in:
Brandon Sturgeon 2022-01-20 11:05:45 -08:00
parent 27c290d619
commit 1ff64af6f2
No known key found for this signature in database
GPG Key ID: 93451558FC64495C

View File

@ -1,4 +1,5 @@
import guard from ChatTransit
import SteamIDTo64 from util
-- TODO: Send a preliminary avatarservice link that will be backfilled when they fully connect
ChatTransit.PlayerConnect = (data) =>
@ -11,7 +12,7 @@ ChatTransit.PlayerConnect = (data) =>
Type: "connect"
Data:
SteamName: name
SteamId: steamId
SteamId: SteamIDTo64 steamId if steamId
ChatTransit.PlayerInitialSpawn = (ply) =>
sendMessage = (attempts=1) ->