works directly with seconds (#16011)

* works directly with seconds

* add bundle
This commit is contained in:
Kashargul
2024-05-31 04:57:45 +10:00
committed by GitHub
parent 589cb40818
commit 3b84373b90
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -94,6 +94,6 @@
for(var/i in 1 to LAZYLEN(L))
real_new_time += text2num(L[i]) * (60 ** (LAZYLEN(L) - i))
else
real_new_time = text2num(new_time * 10)
real_new_time = text2num(new_time)
time = clamp(real_new_time, 0, 600)
return TRUE