makes radios use paths instead of new (#70252)

* makes radios initialize in Initialize instead of init()
This commit is contained in:
Fikou
2022-10-03 09:46:02 +02:00
committed by GitHub
parent deff8d5d6f
commit 9dddcb6f48
6 changed files with 59 additions and 148 deletions
+1 -1
View File
@@ -178,7 +178,7 @@
log_silicon("[key_name(user)] removed the [channel] radio channel from [key_name(borg)].")
else // We're adding a channel
if (!borg.radio.keyslot) // Assert that an encryption key exists
borg.radio.keyslot = new (borg.radio)
borg.radio.keyslot = new()
borg.radio.keyslot.channels[channel] = 1
if (channel == RADIO_CHANNEL_SYNDICATE)
borg.radio.keyslot.syndie = TRUE