func_button: if "lip" isn't set, set it to be 4.

This commit is contained in:
Marco Cawthorne 2024-03-26 12:45:38 -07:00
parent ff649187ee
commit 53bab46f7d
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 4 additions and 0 deletions

View File

@ -290,6 +290,10 @@ func_button::Respawn(void)
m_flSpeed = 100;
}
if (!m_flLip) {
m_flLip = 4.0f;
}
if (HasSpawnFlags(SF_BTT_NOMOVE)) {
SetMoverPosition2(GetMoverPosition1());
}