diff options
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r-- | src/gamestate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp index dcae848..2032d5c 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp | |||
@@ -465,7 +465,8 @@ void GameState::parse( const AstBranch::NodeList &lCode ) | |||
465 | { | 465 | { |
466 | Variable v = popDeref(); | 466 | Variable v = popDeref(); |
467 | Variable x = popDeref(); | 467 | Variable x = popDeref(); |
468 | if( v.getType() == Variable::tDictionary ) | 468 | if( v.getType() == Variable::tDictionary || |
469 | v.getType() == Variable::tList ) | ||
469 | { | 470 | { |
470 | push( Variable( v.has( x ) ) ); | 471 | push( Variable( v.has( x ) ) ); |
471 | } | 472 | } |