About Store Forum Documentation Contact
Donations:
140$/mo



Post Reply 
[SOLVED]Player updating twice
Author Message
kasinova Offline
Member

Post: #1
[SOLVED]Player updating twice
Hey! So I noticed while trying to get my GUI working that when I ran debug in visual studio, it would run through my player update twice before presenting. This is causing a problem since it will update my inventory twice. Has this been an issue with anyone? If so how did you solve it?
Sorry for the vague post since I'm AFK but what I can tell you is:
I do not manually call any update function for my player
And my player memx has one element
(This post was last modified: 05-07-2013 09:08 AM by kasinova.)
05-07-2013 01:47 AM
Find all posts by this user Quote this message in a reply
kasinova Offline
Member

Post: #2
RE: Player updating twice
WAIT! never mind :X I was calling Game::World.update() in an update
I feel dumb to have that overlooked but hey, let's hope my mistake helps someone else's troubleshooting :]
05-07-2013 09:08 AM
Find all posts by this user Quote this message in a reply
Post Reply