Adjuste data to BDD

This commit is contained in:
VAILLANT Jeremy
2021-05-14 22:15:00 +02:00
parent d8e81345e9
commit 37b6e2ece1
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -11,14 +11,7 @@ func _set_data(value, id, type):
return value
func _get_data_id(prop_name, index):
print("[mbase#_get_data_id] : prop_name : "+String(prop_name))
print("[mbase#_get_data_id] : index : "+String(index))
if table.get_prop_at(index).get_prop_name() == prop_name:
print("[mbase#_get_data_id] : find prop with ID ")
var id = table.get_prop_at(index).get_prop_id()
print("[mbase#_get_data_id] : "+String(id))
return id
return table.get_prop_at(index).get_prop_id()
else:
return null