diff options
Diffstat (limited to 'src/astfunction.cpp')
-rw-r--r-- | src/astfunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/astfunction.cpp b/src/astfunction.cpp index 894a3a1..e27e585 100644 --- a/src/astfunction.cpp +++ b/src/astfunction.cpp | |||
@@ -16,7 +16,7 @@ AstFunction::~AstFunction() | |||
16 | 16 | ||
17 | void AstFunction::call( class GameState &gState ) | 17 | void AstFunction::call( class GameState &gState ) |
18 | { | 18 | { |
19 | gState.pushScope( pAst ); | 19 | gState.run( pAst, true ); |
20 | } | 20 | } |
21 | 21 | ||
22 | void AstFunction::addParam( const Bu::String &sName ) | 22 | void AstFunction::addParam( const Bu::String &sName ) |