mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
made a start with script functions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@62 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -81,7 +81,7 @@ class Scriptable {
|
||||
inline operator const T& () const { return value; }
|
||||
inline bool isScripted() const { return script; }
|
||||
|
||||
// Updates the value by executing the script, returns true if the value has changed
|
||||
/// Updates the value by executing the script, returns true if the value has changed
|
||||
inline bool update(Context& ctx) {
|
||||
return script.invokeOn(ctx, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user