Skip to content

Commit 5040394

Browse files
Keep default value behavior the same as previous versions
1 parent 930581e commit 5040394

File tree

1 file changed

+1
-1
lines changed
  • packages/webgal/src/Core/gameScripts/getUserInput

1 file changed

+1
-1
lines changed

packages/webgal/src/Core/gameScripts/getUserInput/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const getUserInput = (sentence: ISentence): IPerform => {
4141
webgalStore.dispatch(
4242
setStageVar({
4343
key: varKey,
44-
value: userInput?.value || defaultValueFromArgs || '',
44+
value: userInput?.value || defaultValueFromArgs || ' ',
4545
}),
4646
);
4747
}

0 commit comments

Comments
 (0)