Codechange: Pass Script engine by reference.

This commit is contained in:
Peter Nelson
2025-03-24 16:54:55 +00:00
committed by Peter Nelson
parent 72ca962b84
commit 341cdbc16b
20 changed files with 65 additions and 65 deletions

View File

@@ -115,7 +115,7 @@ protected:
/**
* Register the API for this ScriptInfo.
*/
virtual void RegisterAPI(class Squirrel *engine) = 0;
virtual void RegisterAPI(class Squirrel &engine) = 0;
/**
* Get the type of the script, in plural.