mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Add Address and ProjectName when connected
This commit is contained in:
parent
4832035a18
commit
be89259bbd
2 changed files with 10 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ function API.new(app, config, settings)
|
|||
local Rojo = {}
|
||||
|
||||
Rojo.Connected = if app.serveSession then app.serveSession:getStatus() == "Connected" else false
|
||||
Rojo.Address = nil
|
||||
Rojo.ProjectName = nil
|
||||
Rojo.Version = table.clone(config.version)
|
||||
Rojo.ProtocolVersion = config.protocolVersion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue