View Issue Details

IDProjectCategoryView StatusLast Update
0004010Spring engineGeneralpublic2013-09-19 17:48
Reportersilentwings Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version94.1.1+git 
Summary0004010: PlayerChanged is not called until after the game has started
DescriptionIn particular, if a player resigns while others are still loading, it won't be called. Tested with 94.1.1-1166

(This is needed to implement death messages in lua)
Steps To ReproduceUse

function gadget:PlayerChanged(playedID)
  Spring.Echo("Player " .. playerID .. "changed")
end

and resign before the game starts.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2013-09-18 20:15

developer   ~0011633

Should probably just disallow /spectator being issued before gamestart.

Issue History

Date Modified Username Field Change
2013-09-18 12:38 silentwings New Issue
2013-09-18 20:15 Kloot Note Added: 0011633
2013-09-19 17:48 Kloot Changeset attached => spring develop 25807f7d
2013-09-19 17:48 Kloot Assigned To => Kloot
2013-09-19 17:48 Kloot Status new => resolved
2013-09-19 17:48 Kloot Resolution open => fixed