fixed vibrate having too many parameters

This commit is contained in:
JezuzLizard 2020-03-21 08:08:04 -07:00 committed by GitHub
parent f3bd59eda9
commit a3600619ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ turn_tombstone_on()
while ( i < machine.size ) while ( i < machine.size )
{ {
machine[ i ] setmodel( level.machine_assets[ "tombstone" ].on_model ); machine[ i ] setmodel( level.machine_assets[ "tombstone" ].on_model );
machine[ i ] vibrate( vectorScale( ( 0, -1, 0 ), 100 ), 0,3, 0,4, 3 ); machine[ i ] vibrate( vectorScale( ( 0, -1, 0 ), 100 ), 0.3, 0.4, 3 );
machine[ i ] playsound( "zmb_perks_power_on" ); machine[ i ] playsound( "zmb_perks_power_on" );
machine[ i ] thread perk_fx( "tombstone_light" ); machine[ i ] thread perk_fx( "tombstone_light" );
machine[ i ] thread play_loop_on_machine(); machine[ i ] thread play_loop_on_machine();