mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-31 12:41:46 +00:00
* hell yeah-coded * welp im too tired to fix this one * lets test this * Revert "lets test this" * okay, lets test! * fixes * okay we good? * i might be stupid
12 lines
379 B
Plaintext
12 lines
379 B
Plaintext
/datum/redis_callback/server_messages
|
|
channel = SERVER_MESSAGES_REDIS_CHANNEL
|
|
|
|
/datum/redis_callback/server_messages/on_message(message)
|
|
#ifdef MULTIINSTANCE
|
|
// Decode
|
|
var/list/data = json_decode(message)
|
|
// And fire
|
|
SSinstancing.execute_command(data["src"], data["cmd"], data["args"])
|
|
#endif
|
|
return // we need this so that the proc isnt empty when on non-multi-instance
|