ID:139132
 
Code:
turf/Click()
if(usr.pillarqueue)
usr.pillarqueue=0
var/obj/Quantum_Pillar/Z = new/obj/Quantum_Pillar(src.loc)
Z.Gowner=usr
..()


Problem description:
Pillar won't create when clicked, yes I am setting pillarqueue to 1, still doesnt work, works fine when I manually create a Quantum_Pillar with Create()
src.loc = /area
Just change that to src (which is a /turf as you know) and it should be fine:
var/obj/Quantum_Pillar/Z = new(src)  // If the path is not defined for new(), it will use the path of the variable
In response to GhostAnime
It still doesn't create the object on click. Even if I manually edit pillarqueue to 1.

//OBJ CODE
obj/Quantum_Pillar
layer=MOB_LAYER+1
pixel_x=-32
pixel_y=-32
density=1
icon='Pillar.dmi'
New()
spawn(150) del src
In response to Kenpachi12
Nevermind I resolved my own issue, I had turf/Click() overwritten a few other times, and one of the times I didn't have ..() there. That fixed it.