ID:178199
 
obj
phaser
icon = 'phaser.dmi'
icon_state = "phaser"
verb/fire_phaser()
new /obj/phaserbeam(src.loc)
walk(phaserbeam,src.dir)

I dont know why this error is coming up on my compiler
it says the last line of this code is a duplicate definition

please help
Treasurecat wrote:
obj
phaser
icon = 'phaser.dmi'
icon_state = "phaser"
verb/fire_phaser()
new /obj/phaserbeam(src.loc)
walk(phaserbeam,src.dir)

I dont know why this error is coming up on my compiler
it says the last line of this code is a duplicate definition

It shows clearly in the HTML format, though not in monospace text: You're mixing spaces and tabs. The last line is unindented from the previous ones, so it's being interpreted as a proc definition.

Lummox JR