Cooja: Fix missing message when running a script

This commit is contained in:
Moritz 'Morty' Strübe 2012-10-30 11:41:57 +01:00
parent a3eb42387f
commit 50346251a2

View file

@ -339,6 +339,7 @@ public class LogScriptEngine {
engine.put("global", hash); engine.put("global", hash);
engine.put("sim", simulation); engine.put("sim", simulation);
engine.put("gui", simulation.getGUI()); engine.put("gui", simulation.getGUI());
engine.put("msg", new String(""));
scriptMote = new ScriptMote(); scriptMote = new ScriptMote();
engine.put("node", scriptMote); engine.put("node", scriptMote);