Adjuste data to BDD
This commit is contained in:
+1
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user