Browse Source

JYTHON: typo fix for quest 101 : Sword of Solidarity. Fixes #1971

Emperorc 17 years ago
parent
commit
d25a308d45

+ 1 - 0
datapack_development/data/scripts/quests/101_SwordOfSolidarity/__init__.py

@@ -47,6 +47,7 @@ class Quest (JQuest) :
         st.playSound("ItemSound.quest_finish")
         st.set("onlyone","1")
         # check the player state against this quest newbie rewarding mark.
+        player = st.getPlayer()
         newbie = player.getNewbie()
         if newbie | NEWBIE_REWARD != newbie :
            player.setNewbie(newbie|NEWBIE_REWARD)