Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Metis
2024-10-15 13:22:30 -04:00
5 changed files with 42 additions and 0 deletions
@@ -349,3 +349,5 @@
default = list()
/datum/config_entry/number/border_control // If border control is enabled
/datum/config_entry/flag/toast_notification_on_init
+4
View File
@@ -223,6 +223,10 @@ GLOBAL_REAL(Master, /datum/controller/master) = new
// Sort subsystems by display setting for easy access.
sortTim(subsystems, GLOBAL_PROC_REF(cmp_subsystem_display))
if(world.system_type == MS_WINDOWS && CONFIG_GET(flag/toast_notification_on_init) && !length(GLOB.clients))
world.shelleo("start /min powershell -ExecutionPolicy Bypass -File tools/initToast/initToast.ps1 -name \"[world.name]\" -icon %CD%\\icons\\ui_icons\\common\\tg_16.png -port [world.port]")
// Set world options.
world.change_fps(CONFIG_GET(number/fps))
var/initialized_tod = REALTIMEOFDAY