Mathieu-Lala/game_project

Fight may crash

Mathieu-Lala opened this issue · 2 comments

Issue tracker is ONLY used for reporting bugs. Make sure to read the CONTRIBUTING document before submitting your issue.

Expected Behavior

The game should not crash

Current Behavior

The game may crash when player is attacked or attack an enemy

Possible Solution

Steps to Reproduce

  1. Not clearly found yet

Context (Environment)

Windows & Linux

Detailed Description

Possible Implementation

May be append if the player kill an enemy and die at the same time => +xp on dead entity

It is due to spell.source being invalid