chore: removed flyweight db debug print calls
This commit is contained in:
		
							parent
							
								
									c97742f992
								
							
						
					
					
						commit
						57622176cb
					
				|  | @ -31,7 +31,6 @@ ActionID ActionDB::register_action(Action *instance, gd::String name) { | ||||||
|     ActionDB::data.get_array_hint() = gd::vformat("%s/%s:%s", gd::Variant::INT, gd::PROPERTY_HINT_ENUM, ActionDB::data.get_hint()); |     ActionDB::data.get_array_hint() = gd::vformat("%s/%s:%s", gd::Variant::INT, gd::PROPERTY_HINT_ENUM, ActionDB::data.get_hint()); | ||||||
|     // defer intialization until after emplacement to avoid deleting instance
 |     // defer intialization until after emplacement to avoid deleting instance
 | ||||||
|     ActionDB::data.actions.push_back(instance); |     ActionDB::data.actions.push_back(instance); | ||||||
|     gd::UtilityFunctions::print("registered action ", name); |  | ||||||
|     return instance->get_id(); |     return instance->get_id(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -27,7 +27,6 @@ ItemID ItemDB::register_item(Item *item, gd::String item_name) { | ||||||
|     ItemDB::data.get_hint() += item_name; |     ItemDB::data.get_hint() += item_name; | ||||||
|     ItemDB::data.get_array_hint() = gd::vformat("%s/%s:%s", gd::Variant::INT, gd::PROPERTY_HINT_ENUM, ItemDB::data.get_hint()); |     ItemDB::data.get_array_hint() = gd::vformat("%s/%s:%s", gd::Variant::INT, gd::PROPERTY_HINT_ENUM, ItemDB::data.get_hint()); | ||||||
|     ItemDB::data.items.push_back(item); |     ItemDB::data.items.push_back(item); | ||||||
|     gd::UtilityFunctions::print("registered item type ", item_name); |  | ||||||
|     return item->get_id(); |     return item->get_id(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Sara
						Sara