mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 05:23:01 +00:00
Refined the socket_talk protocol for debugging purposes.
This commit is contained in:
@@ -43,6 +43,9 @@ datum/controller/game_controller
|
||||
|
||||
socket_talk = new /datum/socket_talk()
|
||||
|
||||
// notify the other process that we started up
|
||||
socket_talk.send_raw("type=startup")
|
||||
|
||||
if(!air_master)
|
||||
air_master = new /datum/controller/air_system()
|
||||
air_master.setup()
|
||||
@@ -121,7 +124,7 @@ datum/controller/game_controller
|
||||
// This should describe what is currently being done by the master controller
|
||||
// Useful for crashlogs and similar, because that way it's easy to tell what
|
||||
// was going on when the server crashed.
|
||||
socket_talk.send_log("crashlog.txt","TickerState: [txt]")
|
||||
socket_talk.send_raw("type=ticker_state&message=[txt]")
|
||||
return
|
||||
|
||||
process()
|
||||
|
||||
Reference in New Issue
Block a user