[Add] Forgot to change energy units of jammer.
This commit is contained in:
parent
59fd6922f8
commit
fe1ab6ea0f
@ -536,6 +536,7 @@ static void outfit_parseSJammer(Outfit* tmp, const xmlNodePtr parent) {
|
||||
} while(xml_nextNode(node));
|
||||
|
||||
tmp->u.jam.chance /= 100.; /* Put in per one, instead of percent. */
|
||||
tmp->u.jam.energy /= 60.; /* It's per minute. */
|
||||
|
||||
#define MELEMENT(o, s) \
|
||||
if(o) WARN("Outfit '%s' missing/invalid '"s"' element", tmp->name)
|
||||
|
Loading…
Reference in New Issue
Block a user