Upon Players earning a given Medal (Jounin) they are allowed to remake their characters with more options given to them (More Clans, Hair Styles, etc) However, gameside, the Get.Medal proc is sometimes returning as if the player doesnt have the medal, when website/account wise, they do have it...Oddly, it is randomly letting people with the medal though, while randomly blocking out some people...
Code Snippet (if applicable) to Reproduce Problem:
mob/proc
Jounin_Check()
var/hasmedal = world.GetMedal("Jounin", src)
if(hasmedal)
return 1
else if(!isnull(hasmedal))
src<<"Sorry, until you have earned the Jounin Medal on this game, a few clans are locked to you."
sleep(20)
src<<"Please pick a different clan, and play the game, after you have been given the Jounin Medal you can select these clans."
return
else
src<<"Sorry, there seems to be an error."
return
Expected Results:
Players with the Medal being given access
Actual Results:
Randomly lets players with the medal access, while some dont gain access
Does the problem occur:
Every time? Or how often?
Unsure.
In other games?
Not that I know off.
In other user accounts?
Yes
On other computers?
Unsure.
When does the problem NOT occur?
Unsure
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:
Unsure