ID:1924923
 
Not a bug
BYOND Version:508
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 41.0
Applies to:Dream Daemon
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
with this proc added to a mob's verb list it produces a curious runtime.
Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
/client/proc/borer_infest()
set category = "Alien"
set name = "Infest"
set desc = "Infest a suitable humanoid host."

var/mob/living/simple_animal/borer/B = src.mob //line 601
if(!istype(B)) return
B.infest()


Expected Results:
it works as intended
Actual Results:
runtime error: undefined variable /mob/living/simple_animal/borer/var/mob
proc name: Infest (/client/proc/borer_infest)
source file: borer.dm,601
usr: the cortical borer (697) (/mob/living/simple_animal/borer)
src: the cortical borer (697) (/mob/living/simple_animal/borer)
call stack:
the cortical borer (697) (/mob/living/simple_animal/borer): Infest()


Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
none so far
You must have added the proc to the mob's verbs. If you want a verb's src to refer to the client, you should add the verb to the client.verbs instead.
Kaiochao resolved issue (Not a bug)