You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
events.py
Lines: 25, 39
Variable 'p' is not defined in cops_chase
Variable 'player' is passed in, p should be replaced with player
Traceback
Traceback (most recent call last):
File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\program files\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Program Files\Python38\Scripts\drugwars.exe_main.py", line 7, in
File "c:\program files\python38\lib\site-packages\drugwars_main.py", line 39, in main
main_screen(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 597, in main_screen
main_screen(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 597, in main_screen
main_screen(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 597, in main_screen
main_screen(p)
[Previous line repeated 6 more times]
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 549, in main_screen
achoice(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 548, in
achoice = choice([lambda p: cops_chase(p), lambda p: buy_gun(p), lambda p: get_mugged(p), lambda p: find_drugs(p)])
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 79, in cops_chase
pdrug = p.get_amt(drug)
NameError: name 'p' is not defined
The text was updated successfully, but these errors were encountered:
events.py
Lines: 25, 39
Variable 'p' is not defined in cops_chase
Variable 'player' is passed in, p should be replaced with player
Traceback
Traceback (most recent call last):
File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\program files\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Program Files\Python38\Scripts\drugwars.exe_main.py", line 7, in
File "c:\program files\python38\lib\site-packages\drugwars_main.py", line 39, in main
main_screen(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 597, in main_screen
main_screen(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 597, in main_screen
main_screen(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 597, in main_screen
main_screen(p)
[Previous line repeated 6 more times]
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 549, in main_screen
achoice(p)
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 548, in
achoice = choice([lambda p: cops_chase(p), lambda p: buy_gun(p), lambda p: get_mugged(p), lambda p: find_drugs(p)])
File "c:\program files\python38\lib\site-packages\drugwars\events.py", line 79, in cops_chase
pdrug = p.get_amt(drug)
NameError: name 'p' is not defined
The text was updated successfully, but these errors were encountered: