[MIRROR] works directly with seconds (#8467)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-05-30 13:49:30 -07:00
committed by GitHub
parent adc6dada8a
commit 0e2cb72c37
4 changed files with 6 additions and 6 deletions

View File

@@ -135,7 +135,7 @@
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
if("range")

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