mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix /rand returning zero #1728
This commit is contained in:
@ -664,7 +664,7 @@ function randValuesCallback(from, to, args) {
|
||||
if (args.round == 'floor') {
|
||||
return Math.floor(value);
|
||||
}
|
||||
return value;
|
||||
return String(value);
|
||||
}
|
||||
|
||||
export function registerVariableCommands() {
|
||||
|
Reference in New Issue
Block a user