[0.15.27] Negative LuaForce.laboratory_speed_modifier issues

This subforum contains all the issues which we already resolved.
Post Reply
I_IBlackI_I
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Feb 20, 2013 6:57 pm
Contact:

[0.15.27] Negative LuaForce.laboratory_speed_modifier issues

Post by I_IBlackI_I »

What did you do?

Code: Select all

/c game.player.force.laboratory_speed_modifier = -2
What happened?
Instead of receiving an error stating that laboratory_speed_modifier must be a value greater than x (I would suggest -1) it set it to the given value anyway. This causes research to go backwards and causes GUI glitches http://i.imgur.com/deLteZy.png

What did you expect to happen instead?
Get an error in the console stating that laboratory_speed_modifier can not be a value lower than -1

OR

Research_progress not being able to go into negative.
Attachments
negativeResearch.zip
Save-file for found bug.
(602.27 KiB) Downloaded 124 times

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.15.27] Negative LuaForce.laboratory_speed_modifier issues

Post by kovarex »

Fixed for the next version.

User avatar
Gergely
Filter Inserter
Filter Inserter
Posts: 596
Joined: Sun Apr 10, 2016 8:31 pm
Contact:

Re: [0.15.27] Negative LuaForce.laboratory_speed_modifier issues

Post by Gergely »

:lol: :lol: :lol: LOL

Post Reply

Return to “Resolved Problems and Bugs”