Skip to content

Commit 47aa9db

Browse files
committed
Bugfix
1 parent 4ea7099 commit 47aa9db

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

dist/easycoder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ const EasyCoder_Core = {
11601160
};
11611161
if (target.imported) {
11621162
const exporterRecord = EasyCoder.scripts[target.exporter].getSymbolRecord(target.exportedName);
1163-
exporterRecord.value[exporterRecord.index] = value;
1163+
exporterRecord.value[exporterRecord.index] = target.value;
11641164
}
11651165
return true;
11661166
}
@@ -1206,7 +1206,7 @@ const EasyCoder_Core = {
12061206
run: program => {
12071207
const command = program[program.pc];
12081208
program.dataStack.push(command.value);
1209-
return true;
1209+
return command.pc + 1;
12101210
}
12111211
},
12121212

js/easycoder/Core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ const EasyCoder_Core = {
11601160
};
11611161
if (target.imported) {
11621162
const exporterRecord = EasyCoder.scripts[target.exporter].getSymbolRecord(target.exportedName);
1163-
exporterRecord.value[exporterRecord.index] = value;
1163+
exporterRecord.value[exporterRecord.index] = target.value;
11641164
}
11651165
return true;
11661166
}
@@ -1206,7 +1206,7 @@ const EasyCoder_Core = {
12061206
run: program => {
12071207
const command = program[program.pc];
12081208
program.dataStack.push(command.value);
1209-
return true;
1209+
return command.pc + 1;
12101210
}
12111211
},
12121212

resources/ecs/codex.ecs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,6 @@ DoRunStop:
952952
set Running
953953
wait 10 ticks
954954

955-
dummy
956955
run Script with RunPanel as TestModule nowait then
957956
begin
958957
clear Running

0 commit comments

Comments
 (0)