fix: use '_COUNT_' as prefix for count manager globals instead of 'count/'
This commit is contained in:
@@ -16,7 +16,7 @@ func remove(global_id: String, value:= 1) -> void:
|
||||
func set(global_id: String, value: int) -> void:
|
||||
var item = get_item(global_id)
|
||||
item.count = value
|
||||
escoria.globals_manager.set_global("count/%s" % global_id, value)
|
||||
escoria.globals_manager.set_global("_COUNT_%s" % global_id, value)
|
||||
updateSprite(item)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user