Skip to content

Commit

Permalink
fixup! Throw error when executing command past script code.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Jan 12, 2025
1 parent 8d91f28 commit 308d733
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/CScriptEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ namespace CLEO

inline SCRIPT_VAR * GetVarsPtr() { return LocalVar; }
inline bool IsOK() const { return bOK; }
inline DWORD GetCodeSize() const { return codeSize; }
inline DWORD GetCodeChecksum() const { return codeChecksum; }
inline void enable_saving(bool en = true) { bSaveEnabled = en; }
inline void SetCompatibility(eCLEO_Version ver) { CompatVer = ver; }
inline eCLEO_Version GetCompatibility() const { return CompatVer; }
Expand Down

0 comments on commit 308d733

Please sign in to comment.