proc
My_Turn_Check(mob/m)
var/list/player = Find_Turn_Order(m.battle_datum.Players)
if(player[1] == m)
return 1
battle_datum
var/list
Players = new
//blah blah added players...
Problem description:
The problem is in my "My Turn Check" procedure. I simply want to use it as a quick easy way to check if it's that player's turn.
The Find_Turn_Order procedure works; it simply returns a list of the players in the order of their turns, and we're also assuming battle_datum's player list has players in it.
It's probably something about how I'm setting up the list?
a list in there like