This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
dev:core:funref:ms_to_kmh [2019-10-02 17:40] 82.67.173.193 created |
dev:core:funref:ms_to_kmh [2019-10-02 20:17] 82.67.173.193 convert tabs to spaces |
||
---|---|---|---|
Line 28: | Line 28: | ||
<file lua ms_to_kmh.lua> | <file lua ms_to_kmh.lua> | ||
function advtrains.ms_to_kmh(speed) | function advtrains.ms_to_kmh(speed) | ||
- | return speed * 3.6 | + | |
end | end | ||
</ | </ |