From 35007f893ff23e749ba1e223577eb5869443b853 Mon Sep 17 00:00:00 2001 From: jianmingyong Date: Sat, 17 Sep 2016 05:35:22 +0800 Subject: [PATCH] Fix @Storage.update() "subtract" and "subtraction" --- .../World/ActionScript/V2/ScriptCommands/DoStorage.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2.5DHero/2.5DHero/World/ActionScript/V2/ScriptCommands/DoStorage.vb b/2.5DHero/2.5DHero/World/ActionScript/V2/ScriptCommands/DoStorage.vb index cf719c82c..b86b87e89 100644 --- a/2.5DHero/2.5DHero/World/ActionScript/V2/ScriptCommands/DoStorage.vb +++ b/2.5DHero/2.5DHero/World/ActionScript/V2/ScriptCommands/DoStorage.vb @@ -33,7 +33,7 @@ Else value = currentValue & value End If - Case "-", "minus", "substract", "substraction" + Case "-", "minus", "subtract", "subtraction" value = dbl(currentValue.Replace(".", GameController.DecSeparator) & "-" & value.Replace(".", GameController.DecSeparator)).ToString() Case "*", "multiply", "multiplication" value = dbl(currentValue.Replace(".", GameController.DecSeparator) & "*" & value.Replace(".", GameController.DecSeparator)).ToString() @@ -54,4 +54,4 @@ End Class -End Namespace \ No newline at end of file +End Namespace