Sasabmeg / FOnline-BraveNewWorld

FOClassic and PReloaded project, mostly for fodev.net tutorials or module code shares.
https://fodev.net/forum/index.php/topic,30344.0.html
GNU General Public License v3.0
11 stars 4 forks source link

Recolorization of critters/players bug: Setting goood/evil is not instant, requires reload, etc #119

Closed Sasabmeg closed 1 week ago

Sasabmeg commented 1 week ago

Once a player adds another on to good/evil list (or friend/foe, friend/ignore list) the colors would not change.

The issue seems to be a simple sync problem, where the recolorization happened before the property values of evil list were updated, I will solve it with forcefully sending 1 critter recolor when karma voting is triggered.