View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000437 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-03-15 14:16 | 2017-03-16 13:22 |
| Reporter | Major Cooke | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000437: Menu virtual init not working properly | ||||
| Description | At first I thought it was a bug with OnMenuCreated, but I think it's something deeper. See attached. Also note that doing it the other way by making a custom OptionMenu itself and having it run OnMenuCreated after a super call in the init function will throw an error saying OnMenuCreated is an unknown property. | ||||
| Steps To Reproduce | 1. Open the main menu. 2. Open the options menu. It's supposed to output a bunch of Beeps in the console, as Submenu was replaced with SubmenuBeep, but it does not. | ||||
| Tags | No tags attached. | ||||
|
test.pk3 (2,399 bytes) |
|
|
The base declaration was missing a 'virtual' qualifier. Which you would have noticed if you hadn't forgotten the 'override' qualifier... |
|
| You didn't specifically state if it was meant to be virtual or not in your commit message so I assumed something like "not". You just called it a callback. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-03-15 14:16 | Major Cooke | New Issue | |
| 2017-03-15 14:16 | Major Cooke | File Added: test.pk3 | |
| 2017-03-16 12:56 | Graf Zahl | Status | new => resolved |
| 2017-03-16 12:56 | Graf Zahl | Resolution | open => fixed |
| 2017-03-16 12:56 | Graf Zahl | Note Added: 0001023 | |
| 2017-03-16 12:56 | Graf Zahl | Note Edited: 0001023 | View Revisions |
| 2017-03-16 13:22 | Major Cooke | Note Added: 0001025 |