mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Use fonts everywhere, misc. tweaks
This commit is contained in:
@@ -58,10 +58,12 @@ eos
|
||||
InputMapper.keys.each do |key, pressed|
|
||||
next unless pressed
|
||||
|
||||
action = InputMapper.action(key)
|
||||
next unless action
|
||||
actions = InputMapper.action(key)
|
||||
next unless actions
|
||||
|
||||
@player.send(action) if @player.respond_to?(action)
|
||||
actions.each do |action|
|
||||
@player.send(action) if @player.respond_to?(action)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user