3 lines
99 B
JavaScript

if (args.actorsystem.details.move.sail.value > 0)
args.actor.system.details.move.sail.value = 0;