lib/atome/genesis/particles/utility.rb in atome-0.5.6.6.1 vs lib/atome/genesis/particles/utility.rb in atome-0.5.6.6.5
- old
+ new
@@ -33,10 +33,10 @@
render(:delete, params)
# the machine delete the current atome from the universe
id_found = @id.to_sym
parent_found = grab(@attach)
parent_found.attached.delete(id_found)
- Universe.delete(@id)
+ Universe.delete(@aid)
end
elsif params.instance_of? Hash
if params[:recursive]
unless grab(@id).tag && (grab(@id).tag[:persistent] || grab(@id).tag[:system])
\ No newline at end of file