update network
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
extends Node
|
||||
class_name NewsFetcher
|
||||
|
||||
const Config = preload("config.gd")
|
||||
## Fetches news/devlog entries from itch.io
|
||||
|
||||
signal news_fetched(news_items: Array)
|
||||
@@ -65,4 +67,4 @@ func _format_changelog(changelog: Array) -> String:
|
||||
func _sort_by_date(a: Dictionary, b: Dictionary) -> bool:
|
||||
var date_a: String = a.get("date", "")
|
||||
var date_b: String = b.get("date", "")
|
||||
return date_a > date_b # Descending order
|
||||
return date_a > date_b # Descending order
|
||||
|
||||
Reference in New Issue
Block a user