mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-24 10:14:25 +01:00
Parse intro_time as float. Fixes #79.
This commit is contained in:
@@ -808,7 +808,7 @@ class NomadNetworkApp:
|
||||
if not "intro_time" in self.config["textui"]:
|
||||
self.config["textui"]["intro_time"] = 1
|
||||
else:
|
||||
self.config["textui"]["intro_time"] = self.config["textui"].as_int("intro_time")
|
||||
self.config["textui"]["intro_time"] = self.config["textui"].as_float("intro_time")
|
||||
|
||||
if not "intro_text" in self.config["textui"]:
|
||||
self.config["textui"]["intro_text"] = "Nomad Network"
|
||||
|
||||
Reference in New Issue
Block a user