Skip to content

Commit bb43411

Browse files
committed
elaborate script descriptions
1 parent ab7a1d8 commit bb43411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/scripting/api/libs/time_lib.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ namespace api {
1010

1111
ADE_LIB(l_Time, "Time", "time", "Real-Time library");
1212

13-
ADE_FUNC(getCurrentTime, l_Time, nullptr, "Gets the current real-time timestamp.", "timestamp", "The current time")
13+
ADE_FUNC(getCurrentTime, l_Time, nullptr, "Gets the current real-time timestamp, i.e. the actual elapsed time, regardless of whether the game has changed time compression or been paused.", "timestamp", "The current time")
1414
{
1515
return ade_set_args(L, "o", l_Timestamp.Set(timer_get_nanoseconds()));
1616
}
1717

18-
ADE_FUNC(getCurrentMissionTime, l_Time, nullptr, "Gets the current mission-time timestamp.", "timestamp", "The current mission time")
18+
ADE_FUNC(getCurrentMissionTime, l_Time, nullptr, "Gets the current mission-time timestamp, which can be affected by time compression and paused.", "timestamp", "The current mission time")
1919
{
2020
return ade_set_args(L, "o", l_Timestamp.Set(timestamp_get_mission_time_in_microseconds() * NANOSECONDS_PER_MICROSECOND));
2121
}

0 commit comments

Comments
 (0)