diff options
author | UbitUmarov | 2018-03-09 21:42:14 +0000 |
---|---|---|
committer | UbitUmarov | 2018-03-09 21:42:14 +0000 |
commit | 2dc49dc1e943aa96f35d563c07cc3e55e885fe07 (patch) | |
tree | 5738ae61e93ea7e57ee10aa832ac877bb35aed73 /OpenSim/Region/ScriptEngine/YEngine | |
parent | Yengine temp file delete was still bad in case of script errors (diff) | |
download | opensim-SC-2dc49dc1e943aa96f35d563c07cc3e55e885fe07.zip opensim-SC-2dc49dc1e943aa96f35d563c07cc3e55e885fe07.tar.gz opensim-SC-2dc49dc1e943aa96f35d563c07cc3e55e885fe07.tar.bz2 opensim-SC-2dc49dc1e943aa96f35d563c07cc3e55e885fe07.tar.xz |
remove a unnecessay file check
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs index f0ee361..bb5fdf7 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | |||
@@ -126,8 +126,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
126 | // In case something went wrong writing temp file, delete it. | 126 | // In case something went wrong writing temp file, delete it. |
127 | try | 127 | try |
128 | { | 128 | { |
129 | if(File.Exists(tmpFileName)) | 129 | File.Delete (tmpFileName); |
130 | File.Delete (tmpFileName); | ||
131 | } | 130 | } |
132 | catch | 131 | catch |
133 | { | 132 | { |