modified obj type causes new() to produce runtime errors
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
verb
BugModifiedType()
var/obj/O = new /obj{name = "Hello World"}()
Expected Results:
no runtim error
Actual Results:
runtime error: Cannot execute .New().
proc name: BugModifiedType (/mob/verb/BugModifiedType)
source file: bug.dm,23
usr: (src)
src: Guest-4124074978 (/mob)
src.loc: null
call stack:
Guest-4124074978 (/mob): BugModifiedType()
Does the problem occur:
Every time? Or how often?: everytime'
In other games? yep
In other user accounts? yep
On other computers? yep
When does the problem NOT occur?
when using non-modified types
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? 513.1513 (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:
usingf non modified type