aboutsummaryrefslogtreecommitdiff
path: root/logic/database_entry.gd
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-09-02 01:12:19 +0000
committerdam <dam@gudinoff>2022-09-02 01:12:19 +0000
commit8b19e21012092619285bae0e44a0abb3f274ed66 (patch)
tree90ad05658b7b473bb9d9be3d31f635fea00e5c00 /logic/database_entry.gd
parentf027893414e9e81eb5b91a5556d8833652525f14 (diff)
downloadsurgery-log-1.4.tar.zst
surgery-log-1.4.zip
Fixed export settings to include all required scripts. Renamed is_urgency to is_urgent.v1.4
Diffstat (limited to 'logic/database_entry.gd')
-rw-r--r--logic/database_entry.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/database_entry.gd b/logic/database_entry.gd
index 8b0c51f..3a78505 100644
--- a/logic/database_entry.gd
+++ b/logic/database_entry.gd
@@ -17,7 +17,7 @@ const ENTRY_PROTOTYPE: Dictionary = {
"sub_sub_type": "",
"pathology": "",
"intervention": "",
- "is_urgency": false,
+ "is_urgent": false,
"notes": "",
}
@@ -40,7 +40,7 @@ static func instance_entry(params: Dictionary = {}) -> Dictionary:
new_entry.sub_sub_type = params.get("sub_sub_type", "")
new_entry.pathology = params.get("pathology", "")
new_entry.intervention = params.get("intervention", "")
- new_entry.is_urgency = params.get("is_urgency", false)
+ new_entry.is_urgent = params.get("is_urgent", false)
new_entry.notes = params.get("notes", "")
return new_entry