unknown-horizons/unknown-horizons — comment on commit ae755415cca6d3aff783ea40ed01b8855344cd41
File:  line 0
By LeopardUH:

Crashes if i do scroll with arrow keys or zoom with mouse wheel.

Traceback (most recent call last):
File "run_uh.py", line 496, in
main()
File "run_uh.py", line 219, in main
ret = horizons.main.start(options)
File "/unknown-horizons/horizons/main.py", line 178, in start
fife.run()
File "/unknown-horizons/horizons/engine.py", line 580, in run
self.loop()
File "/unknown-horizons/horizons/engine.py", line 594, in loop
f()
File "/unknown-horizons/horizons/view.py", line 128, in do_autoscroll
(self._autoscroll[1]+self._autoscroll_keys[1]) * GAME_SPEED.TICKS_PER_SECOND * (t - self.time_last_autoscroll))
File "/unknown-horizons/horizons/view.py", line 158, in scroll
horizons.main.fife.emitter[i].setPosition(pos.x, pos.y, 1)
AttributeError: 'NoneType' object has no attribute 'setPosition'
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)