mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 22:48:03 +01:00
Fix init mod display
This commit is contained in:
parent
09d448899d
commit
df07ff357a
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ from django_htmx.http import trigger_client_event
|
||||||
|
|
||||||
from character.forms import AddPathForm, EquipmentForm
|
from character.forms import AddPathForm, EquipmentForm
|
||||||
from character.models import Capability, Character, Path
|
from character.models import Capability, Character, Path
|
||||||
|
from character.templatetags.character_extras import modifier
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
|
@ -179,7 +180,7 @@ def character_get_initiative(request, pk: int):
|
||||||
),
|
),
|
||||||
pk=pk,
|
pk=pk,
|
||||||
)
|
)
|
||||||
return HttpResponse(character.modifier_initiative)
|
return HttpResponse(modifier(character.modifier_initiative))
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
|
|
Loading…
Reference in a new issue