Finding an atom... (me and my silly little problems =()
|
|
Code:
atom/var value = "0B" hexbackup = "11"
proc/text2atom(string, list/options = typesof(/atom)) if(string) for(. in options) var/atom/atom = . if(atom.value && atom.value == string) return atom return string return 0
runtime error: Cannot read /atom/pie (/atom/pie).value
proc name: text2atom (/proc/text2atom)
source file: text procs.dm,120
usr: DivineO\'peanut (/mob)
src: null
call stack:
text2atom("03", /list (/list))
loadcode("03-05-0B-")
DivineO\'peanut (/mob): load()
DivineO\'peanut (/mob): both()
|
However, if you made a new object, it should work:
- GhostAnime