mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 17:17:31 -04:00
gate icon and undiscoverable mode
This commit is contained in:
parent
fb6cf98f2b
commit
414ad4eeda
18 changed files with 108 additions and 52 deletions
|
@ -21,8 +21,8 @@ func get_string(section: String, key: String) -> String:
|
|||
return value
|
||||
|
||||
|
||||
func get_value(section: String, key: String) -> Variant:
|
||||
var value: Variant
|
||||
func get_value(section: String, key: String, default: Variant = null) -> Variant:
|
||||
var value: Variant = default
|
||||
if config.has_section_key(section, key):
|
||||
value = config.get_value(section, key)
|
||||
# Debug.logr(key + "=" + str(value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue