if (Attacker == null)
for (var/mob/M in world)
if (M.BattleNum == BattleCount)
M << "<font face = comic sans ms>\icon[Attacker.Face][Attacker] has logged out in battle!"
Problem description:
runtime error: Cannot read null.IsTurn
proc name: BeginBattle (/mob/proc/BeginBattle)
source file: combat.dm,34
usr: null
src: null
call stack:
BeginBattle(950)
Fight Monsters()
I have traced my error down to this but i have no clue what im doing wrong I think its cause im seting Attacker to null but im not sure plese help