Merge pull request 'Development' (#11) from InfoProjekt/game:Development into main

Reviewed-on: #11
This commit is contained in:
Lyzzy 2024-03-10 11:51:09 +00:00
commit 2a2d7b2765

View file

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