소스 검색

fixed prepare not resetting instr ptr on reloads

master
Ludovic 'Archivist' Lagouardette 9 달 전
부모
커밋
c2032c77c4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      priv_include/UserScript/interpreter.h

+ 1
- 0
priv_include/UserScript/interpreter.h 파일 보기

@ -171,6 +171,7 @@ namespace scripting {
std::vector<script_error> errors;
auto lexed = ast::lex(code, errors);
auto parsed = ast::parse(lexed, errors);
instruction_ptr = 0;
if (errors.empty()) {
bytecode = generate(errors, parsed, repeating);
}

불러오는 중...
취소
저장