Excuse me, I tried to change script for singleton but it doesn't work. Am I doing it wrong?
some_singleton.set_script(load("res://system/server/command.srv.gd"))
I also tried other combination but still wont work until now. Can I even change singleton's script in runtime? If not, can I make singleton in runtime?
I have a singleton that will have 2 different script based on if it's client or server. When the main scene loaded, it will detect if the game is running as client or server then change it's singleton script. Is that bad practice?