Material spears do not erroneously drop force_unwielded (#96321)

## About The Pull Request

Change var when changing to not null

## Why It's Good For The Game

14 damage weapon that attacks two tiles away:

## Changelog
🆑

fix: Material spears no longer partially avoid the force malus from
being unwielded

/🆑
This commit is contained in:
Leland Kemble
2026-06-04 00:14:06 +02:00
committed by GitHub
parent cfb8259488
commit 8d8a56cbb3
+1 -1
View File
@@ -119,7 +119,7 @@
src.force_multiplier = force_multiplier
if(!isnull(force_wielded))
src.force_wielded = force_wielded
if(isnull(force_unwielded))
if(!isnull(force_unwielded))
src.force_unwielded = force_unwielded
if(icon_wielded)
src.icon_wielded = icon_wielded