View Issue Details

IDProjectCategoryView StatusLast Update
0002440The Dark ModCodingpublic03.06.2011 03:58
Reportertels Assigned Totels  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Product VersionTDM 1.02 
Target VersionTDM 1.03 
Summary0002440: Unlit electric lights not switchable (stay dark)
Descriptionatdm:lamp_electric_square_1 cannot be toggled by a button, whereas atdm:lamp_electric_square_1_lit can.

Not sure why, they are the same class and entity, except the unlit one inherits from the lit one (this could be the problem, some spawnargs are not properly inherited) and has extinguished set (this is unlikely the problem).
TagsNo tags attached.

Activities

tels

tels

26.11.2010 16:16

reporter   ~0003327

Last edited: 26.11.2010 16:21

The bug is now fixed with revision 0004337. The light holder object script used FadeOut() in case the light holder is a light itself (this is true for electrial lights, but not for torches, f.i.). FadeOut() however did only switch the light color to black, it did not switch Off() the light. Thus the next time the light thought it was On() and did nothing.

Issue History

Date Modified Username Field Change
26.11.2010 10:53 tels New Issue
26.11.2010 15:45 tels Assigned To => tels
26.11.2010 15:45 tels Status new => assigned
26.11.2010 16:12 tels Target Version => TDM 1.03
26.11.2010 16:16 tels Note Added: 0003327
26.11.2010 16:16 tels Status assigned => resolved
26.11.2010 16:16 tels Resolution open => fixed
26.11.2010 16:21 tels Note Edited: 0003327
03.06.2011 03:58 greebo Status resolved => closed