Compare commits

..

No commits in common. "2a2d7b2765d62baf45c4e5bfea274d47938842e3" and "01c3aeae4a3ca7895963290a29eaa93832956367" have entirely different histories.

View file

@ -81,7 +81,7 @@ class NPC(Objects):
self.lastUpdate = pg.time.get_ticks() self.lastUpdate = pg.time.get_ticks()
else: else:
touches = pg.sprite.spritecollideany(self, objects[0]) touches = pg.sprite.spritecollideany(self, objects[0])
if touches is not None and keys[pg.K_f] and isinstance(touches, MainCharacter): if touches is not None and keys[pg.K_SPACE] and isinstance(touches, MainCharacter):
self.talk(objects) self.talk(objects)
self.lastUpdate = pg.time.get_ticks() self.lastUpdate = pg.time.get_ticks()