stg-annon / BT-Silver-Base

a base game for BT Silver with some edits
29 stars 18 forks source link

Clothing Store custom order error (NameError: name 'tmp' is not defined) #38

Closed bendertherobo closed 8 years ago

bendertherobo commented 8 years ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/script.rpy", line 14, in script call call select_start File "game/00_hp_rpy/01_hp.rpy", line 803, in script call call c_r_night File "game/00_hp_rpy/34_clothes_store.rpy", line 139, in script call call clothes_store_gui File "game/00_hp_rpy/34_clothes_store.rpy", line 139, in script call call clothes_store_gui File "game/00_hp_rpy/34_clothes_store.rpy", line 139, in script call call clothes_store_gui File "game/00_hp_rpy/34_clothes_store.rpy", line 653, in script if clothes_store_selection == -1 or clothes_store_inv[tmp] == "": File "game/00_hp_rpy/34_clothes_store.rpy", line 653, in if clothes_store_selection == -1 or clothes_store_inv[tmp] == "": NameError: name 'tmp' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback: File "game/script.rpy", line 14, in script call call select_start File "game/00_hp_rpy/01_hp.rpy", line 803, in script call call c_r_night File "game/00_hp_rpy/34_clothes_store.rpy", line 139, in script call call clothes_store_gui File "game/00_hp_rpy/34_clothes_store.rpy", line 139, in script call call clothes_store_gui File "game/00_hp_rpy/34_clothes_store.rpy", line 139, in script call call clothes_store_gui File "game/00_hp_rpy/34_clothes_store.rpy", line 653, in script if clothes_store_selection == -1 or clothes_store_inv[tmp] == "": File "C:\Users\Chuck\Downloads\Archive-03df\WT Silver 1-04 WIN\WT_Silver_1.04-win\renpy\ast.py", line 1647, in execute if renpy.python.py_eval(condition): File "C:\Users\Chuck\Downloads\Archive-03df\WT Silver 1-04 WIN\WT_Silver_1.04-win\renpy\python.py", line 1490, in py_eval return py_eval_bytecode(code, globals, locals) File "C:\Users\Chuck\Downloads\Archive-03df\WT Silver 1-04 WIN\WT_Silver_1.04-win\renpy\python.py", line 1485, in py_eval_bytecode return eval(bytecode, globals, locals) File "game/00_hp_rpy/34_clothes_store.rpy", line 653, in if clothes_store_selection == -1 or clothes_store_inv[tmp] == "": NameError: name 'tmp' is not defined

Windows-7-6.1.7601-SP1 Ren'Py 6.99.8.959 WT Silver 1.04

slavetrainermod commented 8 years ago

Issue no longer present