Strange issue with Python

Hi guys,
So I am having a strange issue with Python, it is believing that one of my int variables is a string, but it isn't. I searched it up on Google, and it said to try int(value) but it didn't work. Anyways, here is the error.
  File "C:\Users\Kazeem\Documents\RagePillow python\rp.py", line 77, in game
    bulletloop()
  File "C:\Users\Kazeem\Documents\RagePillow python\rp.py", line 274, in bulletloop
    health -= i.damage
TypeError: unsupported operand type(s) for -=: 'int' and 'str'
Any help would be appreciated.
Thanks.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : tunmi13 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector

Reply via email to