ID:138880
 
Code:
            if(M.course == 1)
for(var/obj/Cannon/first/C in world)//inconsistent indendation
C.on = 0//inconsistent indentation
for(var/area/course1/b in world)
b.taken = 0//inconsistent indentation
del(src)//it says this line has bad indentation


Problem description:

Please show the entire block of code and check to make sure you didn't mix tabs and spaces.
In response to Robertbanks2 (#1)
obj/Training_Projectile
icon = 'courses.dmi'
icon_state = "spell"
density = 1
New()
walk(src,SOUTH,1.5)
Bump(atom/A)
if(ismob(A))
var/mob/M = A
M.loc=locate(259,319,2)
M.XP += M.score
M.score = 0
if(M.course == 1)
for(var/obj/Cannon/first/C in world)
C.on = 0
for(var/area/course1/b in world)
b.taken = 0
del(src)
if(isturf(A))
for(var/mob/M in view())
M.score += 10
del(src)

I would think you're getting really sick of this block of code
In response to BeignetLover (#2)
I've spent more time on simpler things, no worries there.

You made sure you didn't accidentally mix up tabs and spaces? When I copy it into a dm file it doesn't give me any indentation issues.
In response to Robertbanks2 (#3)
I suspected that, so I restarted DM and started over on the indentation, still errors
In response to BeignetLover (#4)
Go to options and hit show tabs, that will display all of your tabs, but not your spaces. If you don't have any mixed spacing, then just copy the code from your post and replace the buggy stuff.