7 lines
120 B
ActionScript 3
7 lines
120 B
ActionScript 3
void setGameSpeed(Player& pl, double speed) {
|
|
if(pl != HOST_PLAYER)
|
|
return;
|
|
|
|
gameSpeed = clamp(speed, 0.0, 10.0);
|
|
}
|