mirror of
https://github.com/l0k1/oprf_assets.git
synced 2024-11-01 07:41:15 +08:00
remove nasal error.
This commit is contained in:
parent
2d5e4356a0
commit
d155638cbe
@ -40,11 +40,6 @@ var PositionUpdater = func () {
|
|||||||
|
|
||||||
var position = geo.aircraft_position();
|
var position = geo.aircraft_position();
|
||||||
|
|
||||||
if ( getprop("/autopilot/route-manager/wp-last/dist") < 1 ) {
|
|
||||||
setprop("/sim/multiplay/chat",getprop("sim/multiplay/callsign") ~ " has arrived at its route manager destination!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var time_now = getprop("/sim/time/elapsed-sec");
|
var time_now = getprop("/sim/time/elapsed-sec");
|
||||||
var dt = (time_now - time_last) * sim_speed;
|
var dt = (time_now - time_last) * sim_speed;
|
||||||
if (dt == 0) return;
|
if (dt == 0) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user