Opened 8 years ago

Closed 8 years ago

#604 closed defect (fixed)

lua error from resizing in windowed mode

Reported by: Bluestone Owned by:
Priority: minor Milestone:
Component: BA trunk Version:
Keywords: Cc:

Description (last modified by Bluestone)

[21:51:44] <Shock_Wave> Error:LuaRules::RunCallIn: error = 2, DrawScreen, [string "LuaRules/Gadget/game/initial_sapwn.lua"]:595: attempt to permorm arithmetic on upvalue 'vsx' (a table value)

Change History (4)

comment:1 by Bluestone, 8 years ago

Description: modified (diff)
Summary: [21:51:44] <Shock_Wave> Error:LuaRules::RunCallIn: error = 2, DrawScreen, [string "LuaRules/Gadget/game/initial_sapwn.lua"]:595: attempt to permorm arithmetic on upvalue 'vsx' (a table value)lua error from resizing in windowed mode

comment:2 by beherith, 8 years ago

There is no way that vsx is a table. Getviewgeometry can only return 4 numbers, and gadgethandler:viewresize correctly only returns 2 numbers.

I have no idea why this fails.

comment:3 by Bluestone, 8 years ago

I've seen this before, but forgot what I did to fix it last time xD

comment:4 by Bluestone, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.