mirror of
https://github.com/evennia/evennia.git
synced 2026-03-18 05:46:31 +01:00
Added rounding of command output
This commit is contained in:
parent
d6e6c12939
commit
cf4a6f90a5
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class ScriptBase(TypeClass):
|
|||
task = self.ndb._task
|
||||
if task:
|
||||
try:
|
||||
return int(task.next_call_time())
|
||||
return int(round(task.next_call_time()))
|
||||
except TypeError:
|
||||
pass
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue