My script incorrectly adds 1 extra int to game propert, why?

by Daniel Ölund   Last Updated January 13, 2018 18:15 PM

been spending this whole day trying to figure out why my script adds 1 extra (wrongfully) int to the property 'score'. All code works, excepts that the IF statement adds one extra int, messing up the score since only one int should be added. enter image description here I'm a newbie to scripting so an answer would be beautiful. Thanks

Related Questions

BGE Object List within a specified distance

Updated August 14, 2017 12:15 PM

BGUI activate next TextInput wiget on enter key

Updated March 27, 2015 07:05 AM

Smooth Player Movement?

Updated April 03, 2015 21:23 PM