Link to .capx file (required! If link is blocked remove the http and www parts):
dropbox.com/s/4cguzc589idbsvu/VariableBug.capx
Steps to reproduce:
1. Change the value of Var2
2. Drag Var2 up to between Var1 and Var3
3. Use the 'V' hotkey to attempt to create a new variable.
4. Press 'Enter' to complete the dialog, and a check failure should occur.
Observed result:
Check failure message (pasted below).
Expected result:
Despite the message, the variable seems to be added as expected, though after the message appears once it seems to be easier to trigger until restarting Construct 2.
Browsers affected:
Chrome: yes/no
Firefox: yes/no
Internet Explorer: yes/no
Operating system & service pack:
Microsoft XP Service Pack 3
Construct 2 version:
161 Beta
Check Failure Text
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Cannot find event to insert by
Condition: i != events.end()
File: Projects\EventSheet.cpp
Line: 514
Function: void __thiscall EventSheet::InsertEvent(class std::unique_ptr<class Event,struct std::default_delete<class Event> >,class Event *,bool)
Build: release 161 (32-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)
You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abort Retry Ignore
---------------------------